Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001738, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.89 kB / 373.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.117, allocations: 53.31 MB / 427.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.005009/0.122, allocations: 2.92 MB / 430.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1235, allocations: 0.7401 MB / 430.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.1238, allocations: 7.938 kB / 430.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.124, allocations: 47.5 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.1244, allocations: 99.19 kB / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1248, allocations: 111.8 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.1253, allocations: 382.5 kB / 431.5 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.1255, allocations: 99.94 kB / 431.6 MB, free: 56 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.1258, allocations: 155.3 kB / 431.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.126, allocations: 171.2 kB / 431.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.1261, allocations: 36 kB / 431.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.1261, allocations: 36 kB / 432 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.1262, allocations: 75.75 kB / 432 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.1264, allocations: 167.2 kB / 432.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.1268, allocations: 402.4 kB / 432.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1268, allocations: 0 / 432.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1268, allocations: 0 / 432.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1268, allocations: 0 / 432.6 MB, free: 15.03 MB / 366.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.001484/0.1283, allocations: 0.7039 MB / 433.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1284, allocations: 8.031 kB / 433.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.1285, allocations: 40.64 kB / 433.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.1289, allocations: 291.8 kB / 433.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.129, allocations: 16.94 kB / 433.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.129, allocations: 28.38 kB / 433.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.1298, allocations: 327.9 kB / 434 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1298, allocations: 3.984 kB / 434 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.1298, allocations: 8 kB / 434 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1298, allocations: 8 kB / 434 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008173/0.1306, allocations: 274.1 kB / 434.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.1326, allocations: 1.142 MB / 435.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008559/0.1335, allocations: 206.5 kB / 435.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.1338, allocations: 84.78 kB / 435.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.1338, allocations: 4 kB / 435.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004469/0.1343, allocations: 157.1 kB / 435.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1343, allocations: 0 / 435.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001382/0.1357, allocations: 411.2 kB / 436.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.1357, allocations: 81.14 kB / 436.4 MB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.1361, allocations: 328.5 kB / 436.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.1362, allocations: 33.64 kB / 436.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1363, allocations: 211.9 kB / 436.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.1364, allocations: 39.72 kB / 437 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1365, allocations: 53.88 kB / 437 MB, free: 10.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1366, allocations: 338.8 kB / 437.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.137, allocations: 104.2 kB / 437.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.1375, allocations: 211 kB / 437.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/0.1383, allocations: 332.2 kB / 438 MB, free: 9.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1383, allocations: 4 kB / 438 MB, free: 9.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001048/0.1394, allocations: 395.9 kB / 438.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.1394, allocations: 37.77 kB / 438.4 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.1394, allocations: 7.938 kB / 438.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.1396, allocations: 32.83 kB / 438.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.1399, allocations: 63.89 kB / 438.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.1413, allocations: 1.398 MB / 439.9 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.1417, allocations: 63.84 kB / 440 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.1417, allocations: 16 kB / 440 MB, free: 7.07 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.000181/0.1419, allocations: 145.7 kB / 440.1 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.142, allocations: 31.8 kB / 440.2 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.142, allocations: 30.61 kB / 440.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.142, allocations: 0 / 440.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.142, allocations: 11.88 kB / 440.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.142, allocations: 0 / 440.2 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.1426, allocations: 443.3 kB / 440.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1426, allocations: 0 / 440.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.1428, allocations: 27.97 kB / 440.7 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002005/0.143, allocations: 32.81 kB / 440.7 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.143, allocations: 7.984 kB / 440.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.1443, allocations: 1.395 MB / 442.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1443, allocations: 0 / 442.1 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/0.1452, allocations: 274.5 kB / 442.4 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1453, allocations: 108.9 kB / 442.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.1453, allocations: 0 / 442.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.1456, allocations: 35.95 kB / 442.5 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.1457, allocations: 19.92 kB / 442.5 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.1457, allocations: 4 kB / 442.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003022/0.146, allocations: 227.1 kB / 442.7 MB, free: 4.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.146, allocations: 0 / 442.7 MB, free: 4.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.1464, allocations: 75.83 kB / 442.8 MB, free: 3.98 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.0001714/0.1465, allocations: 113.7 kB / 442.9 MB, free: 3.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.1476, allocations: 402.1 kB / 443.3 MB, free: 3.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1476, allocations: 0 / 443.3 MB, free: 3.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.1482, allocations: 207.3 kB / 443.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1485, allocations: 53.33 kB / 443.6 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1497, allocations: 0.4886 MB / 444.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.1502, allocations: 0.7558 MB / 444.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.1504, allocations: 30.97 kB / 444.8 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1505, allocations: 19.44 kB / 444.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1505, allocations: 0 / 444.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of Templates: time 0.2155/0.366, allocations: 3.306 MB / 448.2 MB, free: 23.6 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.809613171033561]