Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 114.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 249.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 47.92 kB / 366.8 MB, free: 324 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09682, allocations: 52.14 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004226/0.101, allocations: 2.89 MB / 421.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1023, allocations: 0.7089 MB / 422.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1025, allocations: 4 kB / 422.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.1026, allocations: 47.5 kB / 422.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1028, allocations: 103.2 kB / 422.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1031, allocations: 111.8 kB / 422.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.1036, allocations: 394.5 kB / 423.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1038, allocations: 99.83 kB / 423.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.104, allocations: 147.5 kB / 423.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1042, allocations: 171.2 kB / 423.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.1043, allocations: 36 kB / 423.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.1043, allocations: 40 kB / 423.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.398e-05/0.1044, allocations: 79.69 kB / 423.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1046, allocations: 167.1 kB / 424 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.1051, allocations: 402.4 kB / 424.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1051, allocations: 3.938 kB / 424.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1051, allocations: 0 / 424.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1051, allocations: 0 / 424.4 MB, free: 6.684 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001401/0.1065, allocations: 0.6884 MB / 425 MB, free: 5.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1065, allocations: 12.03 kB / 425.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.1066, allocations: 32.75 kB / 425.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.107, allocations: 299.7 kB / 425.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.107, allocations: 20.94 kB / 425.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.1071, allocations: 24.38 kB / 425.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007372/0.1078, allocations: 319.9 kB / 425.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1078, allocations: 0 / 425.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.1079, allocations: 16 kB / 425.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1079, allocations: 4 kB / 425.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.1087, allocations: 282 kB / 426 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.1106, allocations: 1.142 MB / 427.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/0.1114, allocations: 202.5 kB / 427.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.1117, allocations: 80.8 kB / 427.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1117, allocations: 0 / 427.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.1122, allocations: 161.1 kB / 427.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1122, allocations: 0 / 427.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001326/0.1135, allocations: 411.2 kB / 428 MB, free: 2.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.1136, allocations: 85.14 kB / 428.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.1139, allocations: 324.5 kB / 428.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.114, allocations: 25.7 kB / 428.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1141, allocations: 223.9 kB / 428.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1142, allocations: 28.12 kB / 428.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1143, allocations: 57.88 kB / 428.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1144, allocations: 334.8 kB / 429.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.1148, allocations: 104.2 kB / 429.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.1152, allocations: 223.5 kB / 429.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007689/0.116, allocations: 331.5 kB / 429.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.116, allocations: 0 / 429.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009983/0.117, allocations: 403.9 kB / 430.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.1171, allocations: 36.39 kB / 430.1 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1171, allocations: 8 kB / 430.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.1173, allocations: 36.77 kB / 430.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.1175, allocations: 67.89 kB / 430.2 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1188, allocations: 1.406 MB / 431.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.1192, allocations: 59.86 kB / 431.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.1192, allocations: 12 kB / 431.7 MB, free: 14.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (27): * Single equations (assignments): 25 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.1194, allocations: 151.8 kB / 431.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.1194, allocations: 27.84 kB / 431.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.1195, allocations: 30.61 kB / 431.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1195, allocations: 4 kB / 431.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1195, allocations: 7.938 kB / 431.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1195, allocations: 0 / 431.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.12, allocations: 459.1 kB / 432.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.12, allocations: 0 / 432.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.1201, allocations: 27.97 kB / 432.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.1202, allocations: 32.81 kB / 432.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1203, allocations: 3.984 kB / 432.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.1214, allocations: 1.402 MB / 433.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1214, allocations: 0 / 433.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.1222, allocations: 270.5 kB / 434.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.1223, allocations: 105 kB / 434.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.1223, allocations: 0 / 434.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1225, allocations: 31.97 kB / 434.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.1226, allocations: 23.91 kB / 434.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1226, allocations: 0 / 434.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.1229, allocations: 235.1 kB / 434.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1229, allocations: 0 / 434.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.1232, allocations: 67.89 kB / 434.6 MB, free: 11.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.1234, allocations: 107.7 kB / 434.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.1244, allocations: 410.3 kB / 435.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1244, allocations: 0 / 435.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.1249, allocations: 206.5 kB / 435.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1252, allocations: 53.56 kB / 435.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1262, allocations: 0.4981 MB / 435.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1266, allocations: 0.7596 MB / 436.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.1267, allocations: 27.42 kB / 436.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1267, allocations: 4 kB / 436.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of Templates: time 0.007222/0.1339, allocations: 4.655 MB / 441.3 MB, free: 4.832 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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: 7.075558498967439]