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.0009776/0.0009776, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.0009486/0.0009486, allocations: 168 kB / 25.75 MB, free: 8.949 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.9796/0.9796, allocations: 158.6 MB / 187.5 MB, free: 2.934 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.954e-06/1.954e-06, allocations: 3.938 kB / 251.1 MB, free: 7.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.638e-05, allocations: 2.312 kB / 251.2 MB, free: 7.762 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003163/0.003189, allocations: 2.716 MB / 253.9 MB, free: 5.027 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004348, allocations: 0.7058 MB / 254.6 MB, free: 4.312 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.004484, allocations: 4 kB / 254.6 MB, free: 4.309 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.004619, allocations: 39.58 kB / 254.6 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.004777, allocations: 99.12 kB / 254.7 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.00507, allocations: 99.8 kB / 254.8 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.005402, allocations: 370.2 kB / 255.2 MB, free: 3.711 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.005566, allocations: 60.84 kB / 255.2 MB, free: 3.648 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.005798, allocations: 195.5 kB / 255.4 MB, free: 3.457 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.005936, allocations: 115.7 kB / 255.5 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.005974, allocations: 28 kB / 255.6 MB, free: 3.316 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-05/0.006004, allocations: 32 kB / 255.6 MB, free: 3.285 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.006051, allocations: 63.69 kB / 255.7 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.834e-05/0.006149, allocations: 107.7 kB / 255.8 MB, free: 3.117 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.006411, allocations: 219.2 kB / 256 MB, free: 2.902 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.006414, allocations: 0 / 256 MB, free: 2.902 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006415, allocations: 0 / 256 MB, free: 2.902 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.006421, allocations: 0 / 256 MB, free: 2.902 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.001206/0.007627, allocations: 0.6468 MB / 256.6 MB, free: 2.215 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.007668, allocations: 15.98 kB / 256.6 MB, free: 2.199 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.007755, allocations: 48.75 kB / 256.7 MB, free: 2.152 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.008041, allocations: 220 kB / 256.9 MB, free: 1.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.00806, allocations: 20.86 kB / 256.9 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.008086, allocations: 20.38 kB / 256.9 MB, free: 1.871 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.008437, allocations: 240.7 kB / 257.2 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.008447, allocations: 192 / 257.2 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.008468, allocations: 8.375 kB / 257.2 MB, free: 1.602 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.008478, allocations: 7.938 kB / 257.2 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.00863, allocations: 86.94 kB / 257.3 MB, free: 1.508 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.009645, allocations: 0.7543 MB / 258 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.00997, allocations: 115.2 kB / 258.1 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.01004, allocations: 47.59 kB / 258.2 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.01006, allocations: 4 kB / 258.2 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.01027, allocations: 175.5 kB / 258.4 MB, free: 316 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.01027, allocations: 0 / 258.4 MB, free: 316 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008026/0.01108, allocations: 324.9 kB / 258.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.01113, allocations: 106.8 kB / 258.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.01132, allocations: 292.3 kB / 259.1 MB, free: 15.55 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.01135, allocations: 33.7 kB / 259.1 MB, free: 15.51 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01145, allocations: 222.9 kB / 259.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.01148, allocations: 47.61 kB / 259.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.01154, allocations: 55.31 kB / 259.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.01174, allocations: 0.5039 MB / 259.9 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/0.01183, allocations: 65.38 kB / 260 MB, free: 14.59 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.01195, allocations: 190.5 kB / 260.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.01211, allocations: 167 kB / 260.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.01211, allocations: 7.938 kB / 260.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004171/0.01253, allocations: 300.2 kB / 260.6 MB, free: 13.83 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.01257, allocations: 33.7 kB / 260.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01258, allocations: 0 / 260.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/0.01292, allocations: 83.81 kB / 260.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.01302, allocations: 31.92 kB / 260.8 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.01436, allocations: 2.149 MB / 262.9 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.0145, allocations: 35.83 kB / 263 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.01451, allocations: 12.03 kB / 263 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001237/0.01464, allocations: 188.7 kB / 263.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002815/0.01492, allocations: 190.3 kB / 263.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001366/0.01506, allocations: 159.4 kB / 263.5 MB, free: 10.72 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.01506, allocations: 0 / 263.5 MB, free: 10.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002761/0.01533, allocations: 256.3 kB / 263.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.01535, allocations: 36.98 kB / 263.8 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.01536, allocations: 0 / 263.8 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.01547, allocations: 39.66 kB / 263.8 MB, free: 10.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/0.01556, allocations: 44.09 kB / 263.9 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009635/0.01652, allocations: 2.028 MB / 265.9 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01665, allocations: 35.88 kB / 265.9 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.01669, allocations: 7.984 kB / 265.9 MB, free: 8.137 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.0001322/0.01682, allocations: 284.1 kB / 266.2 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.01686, allocations: 27.8 kB / 266.3 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.01689, allocations: 25.77 kB / 266.3 MB, free: 7.797 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.01689, allocations: 7.938 kB / 266.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.0169, allocations: 0 / 266.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.0169, allocations: 0 / 266.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.01707, allocations: 204.5 kB / 266.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01707, allocations: 0 / 266.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.01714, allocations: 15.98 kB / 266.5 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.01735, allocations: 75.64 kB / 266.6 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01737, allocations: 7.938 kB / 266.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009104/0.01828, allocations: 1.873 MB / 268.5 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01828, allocations: 0 / 268.5 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.01855, allocations: 227.7 kB / 268.7 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.01859, allocations: 27.83 kB / 268.7 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.01862, allocations: 7.875 kB / 268.7 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.01874, allocations: 23.98 kB / 268.7 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.01883, allocations: 15.97 kB / 268.8 MB, free: 5.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.01884, allocations: 7.984 kB / 268.8 MB, free: 5.125 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.019, allocations: 205.1 kB / 269 MB, free: 4.926 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.019, allocations: 0 / 269 MB, free: 4.926 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005657/0.01957, allocations: 131.7 kB / 269.1 MB, free: 4.797 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.0001525/0.01972, allocations: 107.2 kB / 269.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008687/0.02059, allocations: 0.6797 MB / 269.9 MB, free: 3.922 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.02059, allocations: 0.75 kB / 269.9 MB, free: 3.922 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.02084, allocations: 229.5 kB / 270.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.02119, allocations: 48.58 kB / 270.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.02245, allocations: 418.4 kB / 270.6 MB, free: 3.188 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.798e-05/0.02253, allocations: 88.56 kB / 270.6 MB, free: 3.082 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.02265, allocations: 25.89 kB / 270.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.02273, allocations: 20.5 kB / 270.7 MB, free: 3.039 MB / 250.7 MB Notification: Performance of SimCode: time 1.513e-06/0.02273, allocations: 4 kB / 270.7 MB, free: 3.035 MB / 250.7 MB Notification: Performance of Templates: time 0.009467/0.03219, allocations: 4.263 MB / 275 MB, free: 14.78 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: 2.9180249948985875]