Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007554/0.0007554, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001901, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007143/0.0007143, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009894/0.001704, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9904/0.9904, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09863/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 244.8 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.821e-05, allocations: 2.312 kB / 244.8 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.002858/0.002877, allocations: 2.927 MB / 247.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008917/0.003768, allocations: 0.7591 MB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.003887, allocations: 7.938 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.98e-05/0.003987, allocations: 55.44 kB / 248.5 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.004127, allocations: 103.1 kB / 248.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.004296, allocations: 107.8 kB / 248.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.004623, allocations: 402.3 kB / 249.1 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.004778, allocations: 95.05 kB / 249.2 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.005025, allocations: 261.4 kB / 249.4 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.00518, allocations: 139.6 kB / 249.6 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.005224, allocations: 36 kB / 249.6 MB, free: 9.285 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.111e-05/0.005265, allocations: 36 kB / 249.7 MB, free: 9.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.005312, allocations: 55.81 kB / 249.7 MB, free: 9.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.005393, allocations: 95.81 kB / 249.8 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.005618, allocations: 223.2 kB / 250 MB, free: 8.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.005628, allocations: 7.938 kB / 250 MB, free: 8.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005629, allocations: 0 / 250 MB, free: 8.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.005637, allocations: 0 / 250 MB, free: 8.875 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.0007744/0.006412, allocations: 0.6387 MB / 250.7 MB, free: 8.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.006442, allocations: 11.98 kB / 250.7 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.006506, allocations: 40.91 kB / 250.7 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.006713, allocations: 185.3 kB / 250.9 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.006733, allocations: 24.86 kB / 250.9 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.006765, allocations: 28.31 kB / 251 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.007046, allocations: 235.9 kB / 251.2 MB, free: 7.656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.007056, allocations: 4.188 kB / 251.2 MB, free: 7.652 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.007073, allocations: 8.375 kB / 251.2 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.007082, allocations: 11.94 kB / 251.2 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.00718, allocations: 67.45 kB / 251.3 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.008008, allocations: 0.8141 MB / 252.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.008176, allocations: 70.47 kB / 252.2 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.008207, allocations: 28.83 kB / 252.2 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.008226, allocations: 0 / 252.2 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.00835, allocations: 93.17 kB / 252.3 MB, free: 6.473 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.008351, allocations: 8 kB / 252.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002528/0.008603, allocations: 114.4 kB / 252.4 MB, free: 6.344 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.008642, allocations: 77.11 kB / 252.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.0088, allocations: 268.8 kB / 252.7 MB, free: 5.977 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.008816, allocations: 29.7 kB / 252.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.008897, allocations: 204.3 kB / 253 MB, free: 5.738 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.00892, allocations: 35.72 kB / 253 MB, free: 5.703 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.008979, allocations: 57.81 kB / 253.1 MB, free: 5.637 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.009068, allocations: 338.9 kB / 253.4 MB, free: 5.297 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.009121, allocations: 49.92 kB / 253.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.701e-05/0.009208, allocations: 160.7 kB / 253.6 MB, free: 5.027 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.009351, allocations: 223.7 kB / 253.8 MB, free: 4.754 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.009354, allocations: 0 / 253.8 MB, free: 4.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002109/0.009565, allocations: 245.5 kB / 254 MB, free: 4.492 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.009597, allocations: 33.7 kB / 254.1 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.009602, allocations: 4 kB / 254.1 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.009783, allocations: 57.23 kB / 254.1 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.009909, allocations: 63.89 kB / 254.2 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006081/0.01052, allocations: 1.166 MB / 255.4 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.01064, allocations: 47.89 kB / 255.4 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.01066, allocations: 8 kB / 255.4 MB, free: 3.023 MB / 250.7 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 8.632e-05/0.01075, allocations: 129.8 kB / 255.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.01077, allocations: 15.92 kB / 255.6 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.0108, allocations: 25.77 kB / 255.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.0108, allocations: 0 / 255.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.0108, allocations: 4 kB / 255.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.0108, allocations: 0 / 255.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.011, allocations: 263.5 kB / 255.9 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.011, allocations: 0 / 255.9 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.01106, allocations: 23.92 kB / 255.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.01108, allocations: 27.78 kB / 255.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.01119, allocations: 36.86 kB / 255.9 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.0112, allocations: 12 kB / 255.9 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000569/0.01177, allocations: 1.162 MB / 257.1 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01177, allocations: 0 / 257.1 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.0119, allocations: 122.7 kB / 257.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.01192, allocations: 128 / 257.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.01199, allocations: 23.98 kB / 257.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.01203, allocations: 19.91 kB / 257.3 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.01204, allocations: 7.938 kB / 257.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.15e-05/0.01211, allocations: 94.75 kB / 257.4 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01211, allocations: 0 / 257.4 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.01229, allocations: 71.84 kB / 257.4 MB, free: 0.8438 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 (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 9.77e-05/0.01239, allocations: 88.33 kB / 257.5 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.0127, allocations: 300 kB / 257.8 MB, free: 432 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/0.01271, allocations: 8 kB / 257.8 MB, free: 424 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.01284, allocations: 164.9 kB / 258 MB, free: 244 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.01318, allocations: 418.8 kB / 258.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.01449, allocations: 450.1 kB / 258.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.558e-05/0.01454, allocations: 88.17 kB / 258.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.294e-05/0.01461, allocations: 26.28 kB / 259 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.01472, allocations: 95.3 kB / 259 MB, free: 15.06 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01472, allocations: 0 / 259 MB, free: 15.06 MB / 266.7 MB Notification: Performance of Templates: time 0.005286/0.02001, allocations: 3.396 MB / 262.4 MB, free: 11.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.569663554430008]