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.002279/0.002279, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.002652/0.002652, allocations: 158.1 kB / 23.95 MB, free: 4.152 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.64/1.64, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.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 1.603e-06/1.603e-06, allocations: 0 / 325.1 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.88e-05, allocations: 6.219 kB / 325.1 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004448/0.004477, allocations: 2.725 MB / 327.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.006028, allocations: 0.7042 MB / 328.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.006185, allocations: 4.625 kB / 328.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.006366, allocations: 51.62 kB / 328.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.006626, allocations: 120.2 kB / 328.7 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.006998, allocations: 91.12 kB / 328.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006349/0.007633, allocations: 409.9 kB / 329.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.007887, allocations: 91.91 kB / 329.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/0.008219, allocations: 223.2 kB / 329.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.008449, allocations: 126.9 kB / 329.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.079e-05/0.00852, allocations: 40.31 kB / 329.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.008594, allocations: 41.44 kB / 329.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.008711, allocations: 81.61 kB / 329.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.00891, allocations: 122.6 kB / 329.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.00955, allocations: 410.7 kB / 330.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.009556, allocations: 0 / 330.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.009558, allocations: 0 / 330.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.009565, allocations: 1 kB / 330.3 MB, free: 13.22 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001465/0.01103, allocations: 0.6034 MB / 330.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.01107, allocations: 9.594 kB / 330.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.745e-05/0.01117, allocations: 34.31 kB / 330.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.01166, allocations: 245.7 kB / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.01168, allocations: 24.56 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.01173, allocations: 24.84 kB / 331.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007288/0.01246, allocations: 306.1 kB / 331.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.01248, allocations: 192 / 331.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.01254, allocations: 10.56 kB / 331.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.01256, allocations: 10.78 kB / 331.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008793/0.01343, allocations: 260.5 kB / 331.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.01534, allocations: 0.8902 MB / 332.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006872/0.01603, allocations: 172.2 kB / 332.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.01629, allocations: 72.95 kB / 332.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.01632, allocations: 9.156 kB / 332.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004297/0.01675, allocations: 183.8 kB / 333.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/0.01675, allocations: 1.031 kB / 333.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001168/0.01792, allocations: 298.6 kB / 333.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.018, allocations: 106.1 kB / 333.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.01841, allocations: 298.7 kB / 333.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.01845, allocations: 28.2 kB / 333.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.01876, allocations: 219.3 kB / 334 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.206e-05/0.01882, allocations: 45.27 kB / 334.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.01894, allocations: 51.02 kB / 334.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.01916, allocations: 336.9 kB / 334.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.01949, allocations: 119.6 kB / 334.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.01993, allocations: 268.8 kB / 334.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.02059, allocations: 308.3 kB / 335.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.0206, allocations: 1 kB / 335.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001035/0.02163, allocations: 412.4 kB / 335.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.02168, allocations: 34.36 kB / 335.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.02169, allocations: 2.875 kB / 335.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/0.02191, allocations: 37.39 kB / 335.6 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.02219, allocations: 65.08 kB / 335.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.0235, allocations: 1.26 MB / 336.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.02389, allocations: 49.88 kB / 337 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.02393, allocations: 19.45 kB / 337 MB, free: 7.668 MB / 302.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: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,opAmp.satNeg,opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0002546/0.02419, allocations: 157.2 kB / 337.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.02424, allocations: 22.83 kB / 337.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.0243, allocations: 29.2 kB / 337.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.0243, allocations: 1.156 kB / 337.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.02431, allocations: 5.094 kB / 337.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.02431, allocations: 1.281 kB / 337.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.02492, allocations: 366.9 kB / 337.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02493, allocations: 0 / 337.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.02509, allocations: 32.53 kB / 337.6 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001298/0.02522, allocations: 25.5 kB / 337.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.02525, allocations: 17.44 kB / 337.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.02665, allocations: 1.264 MB / 338.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.02666, allocations: 3.984 kB / 338.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.02745, allocations: 242.8 kB / 339.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.0275, allocations: 30.19 kB / 339.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.02755, allocations: 6.562 kB / 339.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.02777, allocations: 24.91 kB / 339.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.02789, allocations: 22.84 kB / 339.2 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.02791, allocations: 8.297 kB / 339.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002796/0.02819, allocations: 199 kB / 339.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02819, allocations: 1.219 kB / 339.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.02861, allocations: 79.72 kB / 339.5 MB, free: 5.438 MB / 302.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: 5 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (12): * Single equations (assignments): 9 * 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.0001644/0.02877, allocations: 94.91 kB / 339.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.0298, allocations: 417 kB / 340 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.0298, allocations: 0 / 340 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005342/0.03034, allocations: 212.4 kB / 340.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.03071, allocations: 49.36 kB / 340.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.0319, allocations: 480.5 kB / 340.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.03209, allocations: 150.5 kB / 340.9 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.03222, allocations: 37.92 kB / 340.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.03231, allocations: 24.48 kB / 340.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.03231, allocations: 0 / 340.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of Templates: time 0.008734/0.04104, allocations: 3.458 MB / 344.4 MB, free: 0.9258 MB / 302.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.662009045481682]