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.001811/0.001811, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.00244/0.00244, allocations: 214.1 kB / 23 MB, free: 5.609 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.556/1.556, allocations: 230.2 MB / 256.2 MB, free: 8.562 MB / 206.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 0.001879/0.001879, allocations: 63.88 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3424, allocations: 53.33 MB / 429.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.005047/0.3475, allocations: 2.921 MB / 432.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3492, allocations: 0.7401 MB / 433.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.3495, allocations: 7.938 kB / 433.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.3497, allocations: 51.52 kB / 433.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.35, allocations: 103.2 kB / 433.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.3504, allocations: 111.7 kB / 433.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005399/0.3509, allocations: 390.5 kB / 434.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.3512, allocations: 99.83 kB / 434.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.3514, allocations: 151.4 kB / 434.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.3516, allocations: 171.2 kB / 434.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.3517, allocations: 40 kB / 434.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.3517, allocations: 36 kB / 434.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.3518, allocations: 75.75 kB / 434.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.352, allocations: 171.1 kB / 434.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.3526, allocations: 399.7 kB / 435.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3526, allocations: 0 / 435.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3526, allocations: 3.938 kB / 435.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3526, allocations: 0 / 435.3 MB, free: 2.055 MB / 334.1 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.001527/0.3541, allocations: 0.6845 MB / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3541, allocations: 12.03 kB / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.3542, allocations: 40.7 kB / 436 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/0.3548, allocations: 295.7 kB / 436.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.3548, allocations: 20.94 kB / 436.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.3549, allocations: 24.38 kB / 436.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.3557, allocations: 327.9 kB / 436.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3557, allocations: 0 / 436.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/0.3557, allocations: 12 kB / 436.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.3557, allocations: 7.984 kB / 436.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.3566, allocations: 278 kB / 437 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.3586, allocations: 1.127 MB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.3595, allocations: 206.4 kB / 438.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.3598, allocations: 92.78 kB / 438.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.3598, allocations: 0 / 438.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004592/0.3603, allocations: 153.1 kB / 438.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3603, allocations: 4 kB / 438.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001319/0.3616, allocations: 419.2 kB / 438.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.3616, allocations: 81.11 kB / 439 MB, free: 14.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.362, allocations: 332.4 kB / 439.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3621, allocations: 29.7 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3622, allocations: 211.9 kB / 439.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.3623, allocations: 39.72 kB / 439.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3624, allocations: 53.89 kB / 439.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.3626, allocations: 334.8 kB / 440 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.363, allocations: 104.1 kB / 440.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.3634, allocations: 211 kB / 440.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/0.3642, allocations: 331.2 kB / 440.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3642, allocations: 0 / 440.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009386/0.3651, allocations: 403.8 kB / 441 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.3651, allocations: 37.7 kB / 441.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3652, allocations: 7.984 kB / 441.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.3653, allocations: 24.84 kB / 441.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.3656, allocations: 68.05 kB / 441.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.3668, allocations: 1.41 MB / 442.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.3672, allocations: 51.75 kB / 442.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.3672, allocations: 15.98 kB / 442.6 MB, free: 10.12 MB / 350.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: 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.0001763/0.3674, allocations: 149.9 kB / 442.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.3674, allocations: 27.81 kB / 442.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.3675, allocations: 34.55 kB / 442.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3675, allocations: 3.938 kB / 442.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3675, allocations: 7.938 kB / 442.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3675, allocations: 0 / 442.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.3681, allocations: 447.2 kB / 443.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3681, allocations: 0 / 443.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.3683, allocations: 36 kB / 443.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.3684, allocations: 28.77 kB / 443.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3684, allocations: 4 kB / 443.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.3698, allocations: 1.391 MB / 444.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3698, allocations: 0 / 444.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.3706, allocations: 290.8 kB / 445 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3707, allocations: 104.9 kB / 445.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.3707, allocations: 8 kB / 445.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.3709, allocations: 23.97 kB / 445.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.371, allocations: 15.92 kB / 445.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.371, allocations: 7.984 kB / 445.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002757/0.3713, allocations: 231.1 kB / 445.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3713, allocations: 4 kB / 445.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.3717, allocations: 67.89 kB / 445.5 MB, free: 7.016 MB / 350.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: 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 0.0002146/0.3719, allocations: 110.6 kB / 445.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.3729, allocations: 397.8 kB / 446 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3729, allocations: 0 / 446 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.3734, allocations: 219.5 kB / 446.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3738, allocations: 44.58 kB / 446.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3749, allocations: 0.4964 MB / 446.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.3753, allocations: 0.7558 MB / 447.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.3754, allocations: 30.97 kB / 447.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.3755, allocations: 31.42 kB / 447.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3755, allocations: 0 / 447.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of Templates: time 0.00844/0.3839, allocations: 3.37 MB / 450.9 MB, free: 1.508 MB / 350.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.744167756289244]