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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 108.4 kB / 18.36 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 52.41 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004224/0.1076, allocations: 2.722 MB / 331.5 MB, free: 1 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1087, allocations: 0.706 MB / 332.2 MB, free: 292 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1089, allocations: 7.938 kB / 332.2 MB, free: 284 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.1091, allocations: 43.58 kB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1092, allocations: 95.19 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.1095, allocations: 95.81 kB / 332.4 MB, free: 48 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000382/0.1099, allocations: 362.6 kB / 332.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.1101, allocations: 80.62 kB / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1103, allocations: 135.4 kB / 333 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1105, allocations: 151.4 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.1105, allocations: 32 kB / 333.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.473e-05/0.1106, allocations: 28 kB / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.1107, allocations: 67.75 kB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1108, allocations: 143.3 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.1111, allocations: 322.8 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1112, allocations: 0 / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1112, allocations: 0 / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1112, allocations: 0 / 333.7 MB, free: 14.75 MB / 286.1 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.001239/0.1124, allocations: 0.6418 MB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1125, allocations: 12.03 kB / 334.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.1125, allocations: 28.56 kB / 334.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.1129, allocations: 287.6 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.113, allocations: 16.81 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.113, allocations: 20.38 kB / 334.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.1136, allocations: 247.5 kB / 334.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1136, allocations: 0 / 334.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.1137, allocations: 12 kB / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1137, allocations: 4 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.1144, allocations: 241.6 kB / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.1159, allocations: 0.8739 MB / 336.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/0.1166, allocations: 238.5 kB / 336.3 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.117, allocations: 100.8 kB / 336.4 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.117, allocations: 8 kB / 336.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.1174, allocations: 185.7 kB / 336.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1175, allocations: 0 / 336.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002276/0.1197, allocations: 0.6629 MB / 337.2 MB, free: 10.97 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.1198, allocations: 114.8 kB / 337.4 MB, free: 10.83 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1201, allocations: 266.8 kB / 337.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1201, allocations: 25.7 kB / 337.6 MB, free: 10.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1202, allocations: 179.8 kB / 337.8 MB, free: 10.35 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1203, allocations: 39.45 kB / 337.9 MB, free: 10.31 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.1204, allocations: 45.64 kB / 337.9 MB, free: 10.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1205, allocations: 334.8 kB / 338.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.1208, allocations: 104.8 kB / 338.3 MB, free: 9.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.1212, allocations: 159.6 kB / 338.5 MB, free: 9.637 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.1218, allocations: 270.5 kB / 338.8 MB, free: 9.348 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1218, allocations: 4 kB / 338.8 MB, free: 9.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001146/0.123, allocations: 447.5 kB / 339.2 MB, free: 8.891 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.123, allocations: 29.7 kB / 339.2 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1231, allocations: 4 kB / 339.2 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.1234, allocations: 84.81 kB / 339.3 MB, free: 8.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1236, allocations: 39.91 kB / 339.4 MB, free: 8.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.1263, allocations: 1.958 MB / 341.3 MB, free: 6.621 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.1266, allocations: 51.73 kB / 341.4 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.1266, allocations: 8 kB / 341.4 MB, free: 6.562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003237/0.127, allocations: 176.1 kB / 341.5 MB, free: 6.387 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002676/0.1272, allocations: 143.7 kB / 341.7 MB, free: 6.219 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004722/0.1277, allocations: 227.4 kB / 341.9 MB, free: 5.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/0.1277, allocations: 7.938 kB / 341.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006682/0.1284, allocations: 315.1 kB / 342.2 MB, free: 5.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1285, allocations: 33.7 kB / 342.3 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1285, allocations: 4 kB / 342.3 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.23e-05/0.1286, allocations: 36.83 kB / 342.3 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1287, allocations: 32.09 kB / 342.3 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.1299, allocations: 1.619 MB / 343.9 MB, free: 3.773 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.1301, allocations: 43.88 kB / 344 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1302, allocations: 12 kB / 344 MB, free: 3.719 MB / 286.1 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.0001308/0.1303, allocations: 188.5 kB / 344.2 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.1304, allocations: 23.72 kB / 344.2 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.1304, allocations: 29.83 kB / 344.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1304, allocations: 0 / 344.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1304, allocations: 0 / 344.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1304, allocations: 4 kB / 344.2 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1307, allocations: 297.4 kB / 344.5 MB, free: 3.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1308, allocations: 0 / 344.5 MB, free: 3.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.1309, allocations: 27.86 kB / 344.6 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.1312, allocations: 76.8 kB / 344.6 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1312, allocations: 3.984 kB / 344.6 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.1333, allocations: 1.758 MB / 346.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1333, allocations: 4.031 kB / 346.4 MB, free: 1.121 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.1343, allocations: 353.9 kB / 346.7 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.1344, allocations: 100.8 kB / 346.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.1345, allocations: 4 kB / 346.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.1347, allocations: 31.95 kB / 346.9 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.1348, allocations: 19.98 kB / 346.9 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1348, allocations: 11.94 kB / 346.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.135, allocations: 193.9 kB / 347.1 MB, free: 392 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.135, allocations: 0 / 347.1 MB, free: 392 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005328/0.1355, allocations: 123.7 kB / 347.2 MB, free: 268 kB / 286.1 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.0001309/0.1357, allocations: 107.2 kB / 347.3 MB, free: 152 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.137, allocations: 0.6955 MB / 348 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.137, allocations: 0 / 348 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.1375, allocations: 238.5 kB / 348.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1379, allocations: 44.98 kB / 348.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009469/0.1388, allocations: 447.4 kB / 348.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1391, allocations: 0.7483 MB / 349.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.1392, allocations: 26.28 kB / 349.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.1393, allocations: 19.44 kB / 349.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1393, allocations: 4 kB / 349.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of Templates: time 0.007943/0.1473, allocations: 4.185 MB / 353.7 MB, free: 9.641 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches