Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001312/0.001312, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001449/0.001449, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.81 kB / 378.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004556/0.3046, allocations: 2.924 MB / 435 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.306, allocations: 0.7401 MB / 435.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.3062, allocations: 8 kB / 435.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.3064, allocations: 55.5 kB / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3066, allocations: 99.17 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.3069, allocations: 103.8 kB / 436 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00047/0.3074, allocations: 398.4 kB / 436.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.3076, allocations: 95.89 kB / 436.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3078, allocations: 151.4 kB / 436.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.308, allocations: 171.2 kB / 436.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.3081, allocations: 40 kB / 436.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.3082, allocations: 36 kB / 436.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.3082, allocations: 83.67 kB / 437 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.3084, allocations: 163.2 kB / 437.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.3089, allocations: 396 kB / 437.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3089, allocations: 3.938 kB / 437.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3089, allocations: 4 kB / 437.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3089, allocations: 0 / 437.5 MB, free: 1.91 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.00147/0.3104, allocations: 0.6845 MB / 438.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3104, allocations: 16.02 kB / 438.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.3105, allocations: 40.64 kB / 438.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.311, allocations: 299.7 kB / 438.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.311, allocations: 16.94 kB / 438.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.311, allocations: 24.38 kB / 438.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007257/0.3118, allocations: 327.9 kB / 438.9 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3118, allocations: 4 kB / 438.9 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.3118, allocations: 8 kB / 438.9 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.3118, allocations: 8 kB / 438.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/0.3126, allocations: 270 kB / 439.2 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.3145, allocations: 1.138 MB / 440.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008273/0.3154, allocations: 202.5 kB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.3157, allocations: 84.8 kB / 440.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.3157, allocations: 3.984 kB / 440.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004509/0.3162, allocations: 157.1 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3162, allocations: 4 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001342/0.3175, allocations: 411.1 kB / 441.2 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.3176, allocations: 81.11 kB / 441.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.318, allocations: 332.4 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.318, allocations: 29.7 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.3182, allocations: 219.9 kB / 441.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.3182, allocations: 31.73 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3183, allocations: 57.88 kB / 441.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3185, allocations: 338.8 kB / 442.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.3188, allocations: 96.16 kB / 442.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.3194, allocations: 215.4 kB / 442.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.3204, allocations: 327.7 kB / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.3204, allocations: 0 / 442.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001001/0.3214, allocations: 411.8 kB / 443.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.3214, allocations: 29.7 kB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.3215, allocations: 7.938 kB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.3217, allocations: 37 kB / 443.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.322, allocations: 67.88 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.3233, allocations: 1.414 MB / 444.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.3236, allocations: 55.7 kB / 444.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.3237, allocations: 8 kB / 444.9 MB, free: 9.969 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.0001673/0.3238, allocations: 145.9 kB / 445 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.3239, allocations: 31.8 kB / 445.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.3239, allocations: 30.61 kB / 445.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.324, allocations: 4 kB / 445.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.324, allocations: 3.938 kB / 445.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.324, allocations: 3.984 kB / 445.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.3245, allocations: 451.2 kB / 445.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3245, allocations: 4.031 kB / 445.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.3247, allocations: 35.91 kB / 445.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001456/0.3248, allocations: 24.78 kB / 445.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.3248, allocations: 11.98 kB / 445.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.3261, allocations: 1.391 MB / 447 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3261, allocations: 8.094 kB / 447 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.327, allocations: 270.4 kB / 447.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.3271, allocations: 108.9 kB / 447.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.3271, allocations: 4 kB / 447.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.3274, allocations: 27.95 kB / 447.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.3275, allocations: 19.92 kB / 447.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3275, allocations: 0 / 447.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002603/0.3277, allocations: 239.1 kB / 447.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3277, allocations: 0 / 447.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.3281, allocations: 67.89 kB / 447.7 MB, free: 6.863 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.0001547/0.3282, allocations: 103.2 kB / 447.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3293, allocations: 405.8 kB / 448.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3293, allocations: 1 kB / 448.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.3298, allocations: 210.6 kB / 448.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3302, allocations: 45.06 kB / 448.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.3313, allocations: 0.5138 MB / 449 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.3317, allocations: 0.7558 MB / 449.8 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.434e-05/0.3318, allocations: 27.42 kB / 449.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3318, allocations: 3.938 kB / 449.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of Templates: time 0.007983/0.3398, allocations: 4.66 MB / 454.5 MB, free: 60 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Comparator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.453856848180294]