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.001114/0.001114, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.00195/0.00195, allocations: 164.1 kB / 25.33 MB, free: 9.07 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.01/1.01, allocations: 158.6 MB / 187.2 MB, free: 2.859 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 1.784e-06/1.784e-06, allocations: 0 / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.301e-05, allocations: 2.312 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.003864/0.003897, allocations: 2.831 MB / 253.9 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.005607, allocations: 0.7409 MB / 254.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.005813, allocations: 4 kB / 254.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.005992, allocations: 51.44 kB / 254.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.006205, allocations: 103.2 kB / 254.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.006574, allocations: 111.7 kB / 254.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.006993, allocations: 402.3 kB / 255.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.007201, allocations: 96.44 kB / 255.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.007539, allocations: 231.4 kB / 255.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.007728, allocations: 131.6 kB / 255.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.007786, allocations: 36 kB / 255.8 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.007835, allocations: 40 kB / 255.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.007899, allocations: 79.67 kB / 255.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.008025, allocations: 123.7 kB / 256 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.008608, allocations: 247.1 kB / 256.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.008613, allocations: 3.938 kB / 256.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.008615, allocations: 0 / 256.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.008623, allocations: 0 / 256.3 MB, free: 14.34 MB / 250.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.001049/0.009672, allocations: 0.6857 MB / 257 MB, free: 13.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.009718, allocations: 16.02 kB / 257 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.009826, allocations: 56.7 kB / 257 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.01015, allocations: 236 kB / 257.3 MB, free: 13.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.01017, allocations: 16.88 kB / 257.3 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.0102, allocations: 28.38 kB / 257.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.01059, allocations: 221.3 kB / 257.5 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.0106, allocations: 192 / 257.5 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.01063, allocations: 8.375 kB / 257.5 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.01064, allocations: 11.94 kB / 257.5 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.01082, allocations: 106.9 kB / 257.6 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.01206, allocations: 0.9048 MB / 258.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.01237, allocations: 83.06 kB / 258.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.01244, allocations: 35.7 kB / 258.7 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.01247, allocations: 4 kB / 258.7 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.01267, allocations: 124.2 kB / 258.8 MB, free: 11.63 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.784e-06/0.01267, allocations: 0 / 258.8 MB, free: 11.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005335/0.0132, allocations: 161.4 kB / 258.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.01327, allocations: 89.03 kB / 259 MB, free: 11.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.01355, allocations: 332.1 kB / 259.4 MB, free: 11.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.01358, allocations: 25.7 kB / 259.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.01413, allocations: 266.6 kB / 259.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.01416, allocations: 39.86 kB / 259.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/0.01426, allocations: 59.55 kB / 259.7 MB, free: 10.61 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.0144, allocations: 0.5001 MB / 260.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.01452, allocations: 70.06 kB / 260.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01465, allocations: 204.8 kB / 260.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.01488, allocations: 252.4 kB / 260.8 MB, free: 9.434 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.01489, allocations: 0 / 260.8 MB, free: 9.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004535/0.01534, allocations: 292.2 kB / 261 MB, free: 9.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.01539, allocations: 36.67 kB / 261.1 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.0154, allocations: 4 kB / 261.1 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/0.01566, allocations: 60.05 kB / 261.1 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.01582, allocations: 51.91 kB / 261.2 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.01693, allocations: 1.748 MB / 262.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.01712, allocations: 43.89 kB / 263 MB, free: 7.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.01714, allocations: 12 kB / 263 MB, free: 7.047 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001548/0.01729, allocations: 188.8 kB / 263.2 MB, free: 6.852 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001844/0.01748, allocations: 209.1 kB / 263.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002447/0.01772, allocations: 251 kB / 263.6 MB, free: 6.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.01772, allocations: 0 / 263.6 MB, free: 6.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003619/0.01809, allocations: 300.1 kB / 263.9 MB, free: 5.941 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.01811, allocations: 33.7 kB / 264 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01812, allocations: 4 kB / 264 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.01828, allocations: 52.05 kB / 264 MB, free: 5.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.0184, allocations: 55.91 kB / 264.1 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008954/0.01929, allocations: 1.74 MB / 265.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.01945, allocations: 35.91 kB / 265.8 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.01947, allocations: 12 kB / 265.9 MB, free: 3.875 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.0001732/0.01964, allocations: 292 kB / 266.1 MB, free: 3.582 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.01967, allocations: 23.86 kB / 266.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.01971, allocations: 29.77 kB / 266.2 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01971, allocations: 3.938 kB / 266.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01972, allocations: 0 / 266.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01972, allocations: 4 kB / 266.2 MB, free: 3.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/0.02043, allocations: 412.9 kB / 266.6 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02043, allocations: 0 / 266.6 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.0205, allocations: 19.98 kB / 266.6 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.02064, allocations: 47.58 kB / 266.7 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.02065, allocations: 4.031 kB / 266.7 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007879/0.02144, allocations: 1.744 MB / 268.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.02144, allocations: 0 / 268.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.02167, allocations: 175.5 kB / 268.6 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.02171, allocations: 23.8 kB / 268.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.02173, allocations: 4.125 kB / 268.6 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.0218, allocations: 19.98 kB / 268.6 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.02187, allocations: 19.91 kB / 268.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.02188, allocations: 7.984 kB / 268.7 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.02201, allocations: 221.1 kB / 268.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02201, allocations: 0 / 268.9 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004185/0.02243, allocations: 135.7 kB / 269 MB, free: 0.5078 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.00014/0.02257, allocations: 107.2 kB / 269.1 MB, free: 400 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008282/0.0234, allocations: 0.7047 MB / 269.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.0234, allocations: 0 / 269.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.02358, allocations: 221.8 kB / 270 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.02386, allocations: 54.45 kB / 270.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009786/0.02484, allocations: 458.5 kB / 270.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.283e-05/0.02489, allocations: 80.62 kB / 270.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.025, allocations: 34.28 kB / 270.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.02507, allocations: 24.5 kB / 270.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of SimCode: time 2.014e-06/0.02507, allocations: 0 / 270.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Templates: time 0.007915/0.03299, allocations: 3.893 MB / 274.6 MB, free: 10.82 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.901652802247554]