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.001439/0.001439, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001221/0.001221, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.032/1.032, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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 2.445e-06/2.445e-06, allocations: 0 / 251.5 MB, free: 7.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.106e-05/5.35e-05, allocations: 6.25 kB / 251.5 MB, free: 7.312 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004015/0.004068, allocations: 2.798 MB / 254.3 MB, free: 4.496 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.00535, allocations: 0.7448 MB / 255 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.00559, allocations: 4 kB / 255 MB, free: 3.738 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.005773, allocations: 55.44 kB / 255.1 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.005987, allocations: 107.1 kB / 255.2 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.006288, allocations: 107.8 kB / 255.3 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.006668, allocations: 410.1 kB / 255.7 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.006862, allocations: 92.45 kB / 255.8 MB, free: 2.977 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.007156, allocations: 223.4 kB / 256 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.007332, allocations: 139.6 kB / 256.2 MB, free: 2.621 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.007382, allocations: 40 kB / 256.2 MB, free: 2.582 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.948e-05/0.007422, allocations: 36 kB / 256.2 MB, free: 2.547 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.007483, allocations: 79.67 kB / 256.3 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.007577, allocations: 119.7 kB / 256.4 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.007905, allocations: 247.1 kB / 256.7 MB, free: 2.109 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.007912, allocations: 7.984 kB / 256.7 MB, free: 2.102 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007913, allocations: 0 / 256.7 MB, free: 2.102 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.00792, allocations: 0 / 256.7 MB, free: 2.102 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.0009045/0.008824, allocations: 0.6856 MB / 257.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.008868, allocations: 16.03 kB / 257.4 MB, free: 1.355 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.854e-05/0.008947, allocations: 56.7 kB / 257.4 MB, free: 1.301 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.009187, allocations: 232 kB / 257.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.009207, allocations: 20.88 kB / 257.7 MB, free: 1.027 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.009232, allocations: 24.38 kB / 257.7 MB, free: 1.004 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.009518, allocations: 201.3 kB / 257.9 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.009527, allocations: 192 / 257.9 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.009544, allocations: 12.38 kB / 257.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.009554, allocations: 15.94 kB / 257.9 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.009667, allocations: 83.36 kB / 258 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.01075, allocations: 0.9203 MB / 258.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.01093, allocations: 79.11 kB / 259 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.01097, allocations: 27.7 kB / 259 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.01099, allocations: 0 / 259 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.01114, allocations: 108.3 kB / 259.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.01114, allocations: 0 / 259.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003481/0.01149, allocations: 153.4 kB / 259.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.01153, allocations: 85.11 kB / 259.4 MB, free: 15.19 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.0117, allocations: 324 kB / 259.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.01172, allocations: 25.7 kB / 259.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.01184, allocations: 262.6 kB / 260 MB, free: 14.56 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.01186, allocations: 35.69 kB / 260 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.01193, allocations: 67.55 kB / 260.1 MB, free: 14.45 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01206, allocations: 0.5079 MB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.01212, allocations: 54.08 kB / 260.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.01224, allocations: 201.1 kB / 260.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.01243, allocations: 240.4 kB / 261.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.01244, allocations: 4 kB / 261.1 MB, free: 13.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003911/0.01283, allocations: 276.5 kB / 261.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.01288, allocations: 41.69 kB / 261.4 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.01289, allocations: 4 kB / 261.4 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.0131, allocations: 47.59 kB / 261.4 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01323, allocations: 60.02 kB / 261.5 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000895/0.01413, allocations: 1.725 MB / 263.2 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.01429, allocations: 39.77 kB / 263.2 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.0143, allocations: 15.94 kB / 263.3 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001114/0.01442, allocations: 188.8 kB / 263.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001099/0.01453, allocations: 205.1 kB / 263.7 MB, free: 10.47 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001792/0.0147, allocations: 246 kB / 263.9 MB, free: 10.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.01471, allocations: 0 / 263.9 MB, free: 10.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002726/0.01498, allocations: 284.5 kB / 264.2 MB, free: 9.859 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.015, allocations: 33.7 kB / 264.2 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.015, allocations: 4 kB / 264.2 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.01514, allocations: 47.64 kB / 264.3 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.01523, allocations: 56.06 kB / 264.3 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007587/0.01599, allocations: 1.717 MB / 266 MB, free: 7.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.01612, allocations: 31.81 kB / 266.1 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.01614, allocations: 16 kB / 266.1 MB, free: 7.828 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.0001344/0.01627, allocations: 280.1 kB / 266.3 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.0163, allocations: 31.86 kB / 266.4 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.01633, allocations: 21.77 kB / 266.4 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01634, allocations: 4 kB / 266.4 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.01634, allocations: 0 / 266.4 MB, free: 7.488 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.01635, allocations: 7.922 kB / 266.4 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.01666, allocations: 373.5 kB / 266.8 MB, free: 7.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01666, allocations: 0 / 266.8 MB, free: 7.078 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.01672, allocations: 19.98 kB / 266.8 MB, free: 7.059 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.01685, allocations: 43.67 kB / 266.8 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.01686, allocations: 8 kB / 266.8 MB, free: 7.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007/0.01756, allocations: 1.725 MB / 268.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01756, allocations: 0 / 268.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.01774, allocations: 171.5 kB / 268.7 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.01777, allocations: 27.84 kB / 268.8 MB, free: 4.941 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.01779, allocations: 4 kB / 268.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.01787, allocations: 11.98 kB / 268.8 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.01792, allocations: 15.97 kB / 268.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.01793, allocations: 8 kB / 268.8 MB, free: 4.902 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.872e-05/0.01803, allocations: 209.1 kB / 269 MB, free: 4.699 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01803, allocations: 0 / 269 MB, free: 4.699 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004159/0.01845, allocations: 135.7 kB / 269.1 MB, free: 4.566 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.000129/0.01857, allocations: 107.2 kB / 269.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005788/0.01915, allocations: 0.6873 MB / 269.9 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01915, allocations: 4 kB / 269.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.0193, allocations: 217.4 kB / 270.1 MB, free: 3.449 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.01952, allocations: 49.23 kB / 270.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007586/0.02028, allocations: 454.5 kB / 270.6 MB, free: 2.926 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.396e-05/0.02034, allocations: 88.62 kB / 270.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.02044, allocations: 34.27 kB / 270.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.02059, allocations: 114.2 kB / 270.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02059, allocations: 0 / 270.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of Templates: time 0.006621/0.02721, allocations: 4.001 MB / 274.9 MB, free: 14.7 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8597087590023875]