Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001298/0.001298, allocations: 74.88 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.00143/0.00143, allocations: 161.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 50.92 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.1009, allocations: 53.35 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.004133/0.105, allocations: 2.601 MB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1064, allocations: 0.6817 MB / 382.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1065, allocations: 7.938 kB / 382.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1067, allocations: 39.58 kB / 382.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1069, allocations: 99.25 kB / 382.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1071, allocations: 99.77 kB / 382.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.1076, allocations: 350.6 kB / 382.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1077, allocations: 64.83 kB / 382.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1079, allocations: 135.4 kB / 383 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1081, allocations: 135.3 kB / 383.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.1082, allocations: 32 kB / 383.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.1082, allocations: 28 kB / 383.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.1083, allocations: 63.7 kB / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1084, allocations: 119.5 kB / 383.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.1088, allocations: 330.7 kB / 383.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1088, allocations: 0 / 383.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1088, allocations: 0 / 383.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1088, allocations: 0 / 383.7 MB, free: 10.86 MB / 350.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.001262/0.1101, allocations: 0.5781 MB / 384.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1101, allocations: 12.03 kB / 384.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.748e-05/0.1102, allocations: 32.69 kB / 384.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.1106, allocations: 225.9 kB / 384.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1106, allocations: 12.88 kB / 384.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.1107, allocations: 24.38 kB / 384.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.1113, allocations: 330.4 kB / 384.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1114, allocations: 0 / 384.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.1114, allocations: 8 kB / 384.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1114, allocations: 4 kB / 384.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007852/0.1122, allocations: 249.8 kB / 385.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.1137, allocations: 0.8097 MB / 386 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.1146, allocations: 230.5 kB / 386.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.115, allocations: 92.78 kB / 386.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.115, allocations: 4 kB / 386.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005166/0.1155, allocations: 237 kB / 386.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1155, allocations: 0 / 386.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002432/0.1179, allocations: 0.5721 MB / 387.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.118, allocations: 106.8 kB / 387.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.1183, allocations: 257.8 kB / 387.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.1183, allocations: 29.69 kB / 387.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1185, allocations: 176.2 kB / 387.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.1185, allocations: 51.58 kB / 387.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.1186, allocations: 45.7 kB / 387.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1188, allocations: 335 kB / 388.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.1192, allocations: 121.6 kB / 388.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.1196, allocations: 264.4 kB / 388.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.1203, allocations: 271.2 kB / 388.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1203, allocations: 3.938 kB / 388.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00131/0.1217, allocations: 457.4 kB / 389.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.1217, allocations: 37.64 kB / 389.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1217, allocations: 3.984 kB / 389.2 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.1221, allocations: 72.81 kB / 389.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.1223, allocations: 47.95 kB / 389.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002803/0.1251, allocations: 1.821 MB / 391.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.1254, allocations: 47.92 kB / 391.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.1254, allocations: 12 kB / 391.2 MB, free: 2.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001563/0.1256, allocations: 137.8 kB / 391.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.1256, allocations: 23.86 kB / 391.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.1257, allocations: 25.77 kB / 391.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1257, allocations: 4 kB / 391.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1257, allocations: 7.938 kB / 391.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1257, allocations: 0 / 391.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.1259, allocations: 197.2 kB / 391.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1259, allocations: 0 / 391.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.1261, allocations: 15.98 kB / 391.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.1264, allocations: 80.8 kB / 391.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1264, allocations: 3.984 kB / 391.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.1288, allocations: 1.624 MB / 393.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1288, allocations: 0 / 393.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1299, allocations: 357.6 kB / 393.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.13, allocations: 31.78 kB / 393.7 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.13, allocations: 0 / 393.7 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.1302, allocations: 35.95 kB / 393.7 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.1303, allocations: 23.97 kB / 393.7 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1303, allocations: 7.938 kB / 393.7 MB, free: 176 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.1305, allocations: 181.3 kB / 393.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1305, allocations: 0 / 393.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003789/0.1309, allocations: 71.89 kB / 394 MB, free: 15.92 MB / 366.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.0001312/0.131, allocations: 111.2 kB / 394.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.1321, allocations: 427.5 kB / 394.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1321, allocations: 0 / 394.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004991/0.1326, allocations: 234.9 kB / 394.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1329, allocations: 48.39 kB / 394.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1339, allocations: 458.7 kB / 395.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.134, allocations: 138.2 kB / 395.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.564e-05/0.1341, allocations: 17.95 kB / 395.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.1342, allocations: 24.48 kB / 395.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1342, allocations: 0 / 395.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of Templates: time 0.008344/0.1425, allocations: 3.847 MB / 399.3 MB, free: 10.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SchmittTrigger/SchmittTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.390144068049267]