Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.002465/0.002465, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002914/0.002914, allocations: 167.7 kB / 25.03 MB, free: 8.41 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 1.442/1.442, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.Comparator,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.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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.612e-05, allocations: 2.312 kB / 250.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004773/0.004799, allocations: 2.805 MB / 253.2 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.006388, allocations: 0.7332 MB / 253.9 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.006548, allocations: 11.94 kB / 253.9 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.006745, allocations: 47.56 kB / 254 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.007008, allocations: 103.1 kB / 254.1 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.007345, allocations: 111.7 kB / 254.2 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007307/0.008075, allocations: 406.3 kB / 254.6 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.008324, allocations: 96.39 kB / 254.7 MB, free: 3.48 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.008665, allocations: 227.5 kB / 254.9 MB, free: 3.258 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.008915, allocations: 139.6 kB / 255 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.92e-05/0.008995, allocations: 36 kB / 255.1 MB, free: 3.086 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.009064, allocations: 36 kB / 255.1 MB, free: 3.051 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.009158, allocations: 79.69 kB / 255.2 MB, free: 2.973 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.009325, allocations: 119.7 kB / 255.3 MB, free: 2.855 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.009881, allocations: 410.7 kB / 255.7 MB, free: 2.453 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.009885, allocations: 0 / 255.7 MB, free: 2.453 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009886, allocations: 0 / 255.7 MB, free: 2.453 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.009902, allocations: 3.938 kB / 255.7 MB, free: 2.449 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001563/0.01147, allocations: 0.7087 MB / 256.4 MB, free: 1.699 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.0115, allocations: 12.03 kB / 256.4 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.01163, allocations: 56.7 kB / 256.5 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.01208, allocations: 240 kB / 256.7 MB, free: 1.367 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.01211, allocations: 20.88 kB / 256.7 MB, free: 1.348 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.01216, allocations: 24.38 kB / 256.8 MB, free: 1.324 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.01279, allocations: 268.5 kB / 257 MB, free: 1.055 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.0128, allocations: 192 / 257 MB, free: 1.055 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.01284, allocations: 12.38 kB / 257 MB, free: 1.043 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.01285, allocations: 7.938 kB / 257.1 MB, free: 1.035 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.01352, allocations: 237.9 kB / 257.3 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.01553, allocations: 1.014 MB / 258.3 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.01618, allocations: 175.1 kB / 258.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.01641, allocations: 75.59 kB / 258.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.01644, allocations: 0 / 258.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.01685, allocations: 164.3 kB / 258.7 MB, free: 15.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.01685, allocations: 0 / 258.7 MB, free: 15.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.001075/0.01793, allocations: 285 kB / 259 MB, free: 14.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.018, allocations: 81.11 kB / 259.1 MB, free: 14.89 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.01846, allocations: 388.1 kB / 259.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.0185, allocations: 29.7 kB / 259.5 MB, free: 14.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/0.01898, allocations: 266.7 kB / 259.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.01903, allocations: 39.7 kB / 259.8 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.01916, allocations: 63.58 kB / 259.8 MB, free: 14.08 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002961/0.01945, allocations: 0.5157 MB / 260.3 MB, free: 13.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.01977, allocations: 118 kB / 260.5 MB, free: 13.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.02019, allocations: 269 kB / 260.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.02084, allocations: 336.4 kB / 261.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.02085, allocations: 0 / 261.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009414/0.02179, allocations: 408 kB / 261.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.02184, allocations: 34.17 kB / 261.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.02184, allocations: 4 kB / 261.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/0.02218, allocations: 63.56 kB / 261.6 MB, free: 12.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.02243, allocations: 51.91 kB / 261.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.02412, allocations: 1.81 MB / 263.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.02441, allocations: 31.88 kB / 263.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.02444, allocations: 16 kB / 263.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003926/0.02483, allocations: 252.8 kB / 263.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003617/0.0252, allocations: 249.1 kB / 264 MB, free: 9.559 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005553/0.02575, allocations: 332.5 kB / 264.3 MB, free: 9.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.02575, allocations: 0 / 264.3 MB, free: 9.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007614/0.02651, allocations: 380.3 kB / 264.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.02656, allocations: 37.69 kB / 264.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.02656, allocations: 4 kB / 264.7 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.02681, allocations: 51.84 kB / 264.7 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.02702, allocations: 55.91 kB / 264.8 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.02884, allocations: 1.794 MB / 266.6 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.02909, allocations: 27.88 kB / 266.6 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.02912, allocations: 12 kB / 266.6 MB, free: 6.648 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0002206/0.02934, allocations: 284.1 kB / 266.9 MB, free: 6.363 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.0294, allocations: 35.84 kB / 266.9 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.02946, allocations: 25.7 kB / 267 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.02946, allocations: 7.938 kB / 267 MB, free: 6.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.02947, allocations: 0 / 267 MB, free: 6.293 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.02947, allocations: 3.938 kB / 267 MB, free: 6.289 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.03006, allocations: 453 kB / 267.4 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.03007, allocations: 0 / 267.4 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.0302, allocations: 24.02 kB / 267.4 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.03043, allocations: 55.58 kB / 267.5 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.03045, allocations: 4 kB / 267.5 MB, free: 5.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.03197, allocations: 1.795 MB / 269.3 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.03198, allocations: 0 / 269.3 MB, free: 3.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007809/0.03276, allocations: 259.4 kB / 269.5 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.03281, allocations: 23.84 kB / 269.6 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.03285, allocations: 4 kB / 269.6 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.03301, allocations: 16.05 kB / 269.6 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.0331, allocations: 23.91 kB / 269.6 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.03311, allocations: 11.94 kB / 269.6 MB, free: 3.438 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002891/0.0334, allocations: 261 kB / 269.9 MB, free: 3.184 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0334, allocations: 0 / 269.9 MB, free: 3.184 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005911/0.034, allocations: 131.7 kB / 270 MB, free: 3.055 MB / 250.7 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 (10): * Single equations (assignments): 7 * 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.0001544/0.03415, allocations: 99.19 kB / 270.1 MB, free: 2.945 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.03573, allocations: 0.8532 MB / 271 MB, free: 2.016 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.03573, allocations: 4.125 kB / 271 MB, free: 2.012 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.03619, allocations: 261.4 kB / 271.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.03656, allocations: 56.36 kB / 271.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.03764, allocations: 480.8 kB / 271.7 MB, free: 1.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.03781, allocations: 151 kB / 271.9 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.03795, allocations: 30.28 kB / 271.9 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.03803, allocations: 28.5 kB / 271.9 MB, free: 0.957 MB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.03803, allocations: 0 / 271.9 MB, free: 0.957 MB / 250.7 MB Notification: Performance of Templates: time 0.009523/0.04755, allocations: 3.716 MB / 275.7 MB, free: 13.27 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.535745871951804]