Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.001452/0.001452, allocations: 85.95 kB / 23 MB, free: 1.504 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.001517/0.001517, allocations: 175.7 kB / 26.39 MB, free: 7.988 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 1.035/1.035, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.SchmittTrigger,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.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,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.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.067e-05, allocations: 6.25 kB / 252.3 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.006819/0.006849, allocations: 2.7 MB / 255 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004427/0.01128, allocations: 0.702 MB / 255.7 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.01145, allocations: 4 kB / 255.7 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.01163, allocations: 39.58 kB / 255.7 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.01185, allocations: 103.1 kB / 255.8 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.01217, allocations: 99.8 kB / 255.9 MB, free: 3.543 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.01257, allocations: 370.3 kB / 256.3 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.01275, allocations: 56.83 kB / 256.4 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.01605, allocations: 191.5 kB / 256.5 MB, free: 2.934 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.01623, allocations: 115.7 kB / 256.7 MB, free: 2.82 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.077e-05/0.01629, allocations: 28 kB / 256.7 MB, free: 2.793 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.106e-05/0.01633, allocations: 32 kB / 256.7 MB, free: 2.762 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.01639, allocations: 67.67 kB / 256.8 MB, free: 2.695 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.0165, allocations: 107.7 kB / 256.9 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.01682, allocations: 215.2 kB / 257.1 MB, free: 2.379 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.01682, allocations: 0 / 257.1 MB, free: 2.379 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01682, allocations: 4 kB / 257.1 MB, free: 2.375 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.01683, allocations: 0 / 257.1 MB, free: 2.375 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.0009042/0.01773, allocations: 0.6506 MB / 257.7 MB, free: 1.68 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.01777, allocations: 11.98 kB / 257.8 MB, free: 1.668 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/0.01786, allocations: 52.75 kB / 257.8 MB, free: 1.617 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.01816, allocations: 220 kB / 258 MB, free: 1.375 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.01818, allocations: 12.88 kB / 258 MB, free: 1.363 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.01822, allocations: 20.38 kB / 258.1 MB, free: 1.344 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.01857, allocations: 224.7 kB / 258.3 MB, free: 1.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.01858, allocations: 192 / 258.3 MB, free: 1.102 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.01861, allocations: 16.36 kB / 258.3 MB, free: 1.086 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.01862, allocations: 7.938 kB / 258.3 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.01874, allocations: 63.45 kB / 258.4 MB, free: 1.016 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.02283, allocations: 0.7158 MB / 259.1 MB, free: 260 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.02307, allocations: 115.1 kB / 259.2 MB, free: 132 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.02313, allocations: 35.67 kB / 259.2 MB, free: 92 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.02314, allocations: 0 / 259.2 MB, free: 92 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.02335, allocations: 175.5 kB / 259.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.02335, allocations: 0 / 259.4 MB, free: 15.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008604/0.02421, allocations: 312.9 kB / 259.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.02427, allocations: 110.8 kB / 259.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.02448, allocations: 280.2 kB / 260.1 MB, free: 15.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.0245, allocations: 25.7 kB / 260.1 MB, free: 15.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.02462, allocations: 234.9 kB / 260.3 MB, free: 14.88 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.02466, allocations: 47.61 kB / 260.4 MB, free: 14.83 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.02473, allocations: 55.3 kB / 260.4 MB, free: 14.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.003174/0.02791, allocations: 0.4962 MB / 260.9 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-05/0.028, allocations: 65.3 kB / 261 MB, free: 14.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.02814, allocations: 186.5 kB / 261.2 MB, free: 13.95 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.02831, allocations: 151.4 kB / 261.3 MB, free: 13.76 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.02831, allocations: 7.969 kB / 261.3 MB, free: 13.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004598/0.02877, allocations: 283.7 kB / 261.6 MB, free: 13.46 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.02882, allocations: 37.64 kB / 261.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02882, allocations: 0 / 261.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/0.02911, allocations: 79.81 kB / 261.7 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.02922, allocations: 39.92 kB / 261.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.03059, allocations: 2.103 MB / 263.9 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.03075, allocations: 47.8 kB / 263.9 MB, free: 11.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.03078, allocations: 4 kB / 263.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001181/0.0309, allocations: 180.5 kB / 264.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001123/0.03101, allocations: 190.2 kB / 264.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000127/0.03113, allocations: 147.4 kB / 264.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.03114, allocations: 0 / 264.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002715/0.03141, allocations: 240.3 kB / 264.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.03143, allocations: 32.83 kB / 264.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.03143, allocations: 4 kB / 264.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.03154, allocations: 47.83 kB / 264.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.03164, allocations: 39.91 kB / 264.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009864/0.03263, allocations: 2.001 MB / 266.8 MB, free: 7.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.0328, allocations: 43.97 kB / 266.8 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.03281, allocations: 4 kB / 266.8 MB, free: 7.871 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001337/0.03295, allocations: 280 kB / 267.1 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.03299, allocations: 31.84 kB / 267.1 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.03302, allocations: 17.78 kB / 267.2 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.03302, allocations: 4 kB / 267.2 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.03303, allocations: 3.938 kB / 267.2 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.03303, allocations: 3.984 kB / 267.2 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.03321, allocations: 169.1 kB / 267.3 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.03322, allocations: 0 / 267.3 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.03327, allocations: 19.98 kB / 267.4 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002119/0.03349, allocations: 71.62 kB / 267.4 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.0335, allocations: 4 kB / 267.4 MB, free: 7.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.03462, allocations: 1.846 MB / 269.3 MB, free: 5.273 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.03462, allocations: 4 kB / 269.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.03494, allocations: 215.7 kB / 269.5 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.03497, allocations: 23.83 kB / 269.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.035, allocations: 7.938 kB / 269.5 MB, free: 5.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.03511, allocations: 19.98 kB / 269.5 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.03517, allocations: 23.95 kB / 269.6 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.03518, allocations: 0 / 269.6 MB, free: 4.961 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.03531, allocations: 201.1 kB / 269.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03531, allocations: 0 / 269.8 MB, free: 4.766 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004985/0.03581, allocations: 127.7 kB / 269.9 MB, free: 4.641 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.0001211/0.03593, allocations: 107.2 kB / 270 MB, free: 4.523 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.0365, allocations: 0.6722 MB / 270.7 MB, free: 3.777 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.03651, allocations: 0 / 270.7 MB, free: 3.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.03668, allocations: 221.5 kB / 270.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.03694, allocations: 48.39 kB / 270.9 MB, free: 3.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/0.03772, allocations: 418.4 kB / 271.3 MB, free: 3.051 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.105e-05/0.03777, allocations: 84.62 kB / 271.4 MB, free: 2.949 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.376e-05/0.03786, allocations: 25.89 kB / 271.4 MB, free: 2.926 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.038, allocations: 118.2 kB / 271.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.038, allocations: 4 kB / 271.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of Templates: time 0.007991/0.046, allocations: 4.641 MB / 276.2 MB, free: 14.17 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.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: 3.0840148949064314]