Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 169.6 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8216/0.8216, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.469e-05, allocations: 2.312 kB / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004107/0.004132, allocations: 2.704 MB / 254.3 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.005575, allocations: 0.7174 MB / 255 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.005723, allocations: 7.938 kB / 255 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.005869, allocations: 43.56 kB / 255 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.00611, allocations: 95.19 kB / 255.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.006407, allocations: 99.75 kB / 255.2 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.00681, allocations: 370.2 kB / 255.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.006964, allocations: 66.86 kB / 255.7 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.00722, allocations: 195.5 kB / 255.8 MB, free: 2.91 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.007391, allocations: 111.7 kB / 256 MB, free: 2.801 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.007438, allocations: 28 kB / 256 MB, free: 2.773 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.007546, allocations: 32 kB / 256 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.007605, allocations: 67.69 kB / 256.1 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.007717, allocations: 103.7 kB / 256.2 MB, free: 2.574 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.007993, allocations: 227.1 kB / 256.4 MB, free: 2.352 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.007995, allocations: 0 / 256.4 MB, free: 2.352 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.007996, allocations: 0 / 256.4 MB, free: 2.352 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.008001, allocations: 0 / 256.4 MB, free: 2.352 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008136/0.008814, allocations: 0.5259 MB / 256.9 MB, free: 1.797 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.008849, allocations: 11.98 kB / 256.9 MB, free: 1.785 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.00892, allocations: 44.83 kB / 257 MB, free: 1.742 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.009169, allocations: 181.3 kB / 257.2 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.009191, allocations: 24.88 kB / 257.2 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.009226, allocations: 16.38 kB / 257.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.009555, allocations: 232.7 kB / 257.4 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.009565, allocations: 192 / 257.4 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.009584, allocations: 4.375 kB / 257.4 MB, free: 1.246 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.009594, allocations: 11.94 kB / 257.4 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.009713, allocations: 63.41 kB / 257.5 MB, free: 1.172 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.01079, allocations: 0.5814 MB / 258.1 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.01101, allocations: 98.52 kB / 258.2 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.01106, allocations: 24.84 kB / 258.2 MB, free: 424 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.01108, allocations: 4 kB / 258.2 MB, free: 420 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.01126, allocations: 169.2 kB / 258.4 MB, free: 216 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.01126, allocations: 0 / 258.4 MB, free: 216 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007867/0.01205, allocations: 286.2 kB / 258.7 MB, free: 15.92 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.0121, allocations: 102.8 kB / 258.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.01228, allocations: 233 kB / 259 MB, free: 15.56 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.01231, allocations: 29.7 kB / 259 MB, free: 15.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.0124, allocations: 168.2 kB / 259.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.01243, allocations: 43.61 kB / 259.2 MB, free: 15.31 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.408e-05/0.0125, allocations: 45.64 kB / 259.3 MB, free: 15.26 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.0126, allocations: 342.8 kB / 259.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.01267, allocations: 54.55 kB / 259.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.01279, allocations: 182.5 kB / 259.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.01295, allocations: 145.3 kB / 260 MB, free: 14.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01295, allocations: 7.969 kB / 260 MB, free: 14.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003943/0.01335, allocations: 253.5 kB / 260.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.01338, allocations: 37.12 kB / 260.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01339, allocations: 4.25 kB / 260.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.01368, allocations: 72.81 kB / 260.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.0138, allocations: 43.84 kB / 260.4 MB, free: 14.01 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.01531, allocations: 1.477 MB / 261.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.01549, allocations: 39.86 kB / 261.9 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01551, allocations: 8 kB / 261.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001114/0.01562, allocations: 137.8 kB / 262 MB, free: 12.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000111/0.01573, allocations: 170.5 kB / 262.2 MB, free: 12.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001392/0.01587, allocations: 149.3 kB / 262.4 MB, free: 11.86 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.836e-06/0.01587, allocations: 3.938 kB / 262.4 MB, free: 11.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002547/0.01613, allocations: 205.8 kB / 262.6 MB, free: 11.63 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.01615, allocations: 33.7 kB / 262.6 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.01616, allocations: 4 kB / 262.6 MB, free: 11.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.01628, allocations: 44.75 kB / 262.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.01639, allocations: 31.98 kB / 262.7 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006743/0.01707, allocations: 1.194 MB / 263.9 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.01724, allocations: 39.86 kB / 263.9 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.01726, allocations: 12 kB / 263.9 MB, free: 10.18 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.01736, allocations: 192 kB / 264.1 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.01739, allocations: 15.98 kB / 264.1 MB, free: 9.973 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.01743, allocations: 33.73 kB / 264.2 MB, free: 9.938 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01743, allocations: 4 kB / 264.2 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01743, allocations: 0 / 264.2 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01743, allocations: 0 / 264.2 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.01758, allocations: 141.7 kB / 264.3 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01758, allocations: 0 / 264.3 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.179e-05/0.01765, allocations: 19.92 kB / 264.3 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.0179, allocations: 76.73 kB / 264.4 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.01791, allocations: 0 / 264.4 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.01893, allocations: 1.438 MB / 265.8 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01894, allocations: 3.984 kB / 265.8 MB, free: 8.148 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.01921, allocations: 165.6 kB / 266 MB, free: 7.969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.01925, allocations: 23.83 kB / 266 MB, free: 7.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.01928, allocations: 8 kB / 266 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.01939, allocations: 23.92 kB / 266 MB, free: 7.914 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.0195, allocations: 23.95 kB / 266.1 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.01952, allocations: 0 / 266.1 MB, free: 7.891 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.762e-05/0.01962, allocations: 78.78 kB / 266.1 MB, free: 7.812 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01962, allocations: 0 / 266.1 MB, free: 7.812 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003894/0.02001, allocations: 123.8 kB / 266.3 MB, free: 7.691 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001047/0.02011, allocations: 84.42 kB / 266.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.02067, allocations: 0.5906 MB / 266.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.02068, allocations: 4 kB / 266.9 MB, free: 6.941 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.02079, allocations: 167.4 kB / 267.1 MB, free: 6.762 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.02095, allocations: 48.39 kB / 267.2 MB, free: 6.715 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.02214, allocations: 0.6613 MB / 267.8 MB, free: 6.027 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.02218, allocations: 84.64 kB / 267.9 MB, free: 5.926 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.587e-05/0.02227, allocations: 29.97 kB / 267.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.02239, allocations: 91.34 kB / 268 MB, free: 5.809 MB / 250.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02239, allocations: 0 / 268 MB, free: 5.809 MB / 250.7 MB Notification: Performance of Templates: time 0.005756/0.02815, allocations: 4.414 MB / 272.4 MB, free: 1.43 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingSchmittTrigger/InvertingSchmittTrigger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.662698717787862]