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.007687/0.007687, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.002028/0.002028, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.481/1.481, allocations: 230.6 MB / 259 MB, free: 8.023 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.001946/0.001946, allocations: 67.89 kB / 379.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2648, allocations: 53.37 MB / 433.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.006021/0.2708, allocations: 2.933 MB / 436.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.273, allocations: 0.7478 MB / 436.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.2733, allocations: 7.938 kB / 436.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.2735, allocations: 47.5 kB / 436.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.2738, allocations: 99.19 kB / 437 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.2742, allocations: 111.8 kB / 437.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006479/0.2749, allocations: 394.5 kB / 437.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.2752, allocations: 96.45 kB / 437.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.2754, allocations: 147.4 kB / 437.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.2758, allocations: 179.2 kB / 437.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.24e-05/0.2758, allocations: 36 kB / 438 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.2759, allocations: 36 kB / 438 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.276, allocations: 79.69 kB / 438.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.2763, allocations: 171.1 kB / 438.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006566/0.2769, allocations: 403.9 kB / 438.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2769, allocations: 0 / 438.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2769, allocations: 0 / 438.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.277, allocations: 0 / 438.7 MB, free: 1.609 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.001854/0.2788, allocations: 0.6092 MB / 439.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2789, allocations: 8.031 kB / 439.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.279, allocations: 40.7 kB / 439.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.2795, allocations: 237.8 kB / 439.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.2795, allocations: 20.88 kB / 439.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.2796, allocations: 28.38 kB / 439.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.2806, allocations: 319 kB / 439.9 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.2807, allocations: 0 / 439.9 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.2807, allocations: 15.98 kB / 439.9 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2807, allocations: 4 kB / 439.9 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2819, allocations: 277.8 kB / 440.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.2845, allocations: 1.095 MB / 441.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.2858, allocations: 202.6 kB / 441.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.2863, allocations: 88.78 kB / 441.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.2863, allocations: 0 / 441.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/0.287, allocations: 165.1 kB / 441.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.287, allocations: 0 / 441.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001778/0.2887, allocations: 338 kB / 442.1 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.2888, allocations: 85.14 kB / 442.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.2894, allocations: 328.5 kB / 442.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.2894, allocations: 25.7 kB / 442.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.2897, allocations: 219.8 kB / 442.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.2897, allocations: 31.8 kB / 442.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.2899, allocations: 53.89 kB / 442.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.2901, allocations: 334.8 kB / 443.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.2905, allocations: 104.1 kB / 443.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.2911, allocations: 216.6 kB / 443.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.2922, allocations: 335.2 kB / 443.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2922, allocations: 0 / 443.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001605/0.2938, allocations: 399.9 kB / 444.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.2938, allocations: 37.77 kB / 444.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.2938, allocations: 7.984 kB / 444.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/0.2941, allocations: 28.84 kB / 444.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.2945, allocations: 63.89 kB / 444.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.2962, allocations: 1.307 MB / 445.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.2967, allocations: 59.86 kB / 445.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.2967, allocations: 19.98 kB / 445.7 MB, free: 10.09 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.0002308/0.297, allocations: 139 kB / 445.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.297, allocations: 31.81 kB / 445.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.2971, allocations: 30.59 kB / 445.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2971, allocations: 4 kB / 445.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/0.2971, allocations: 7.938 kB / 445.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2971, allocations: 0 / 445.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.2978, allocations: 422.3 kB / 446.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2978, allocations: 0 / 446.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.2981, allocations: 31.91 kB / 446.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.2982, allocations: 37.17 kB / 446.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2983, allocations: 7.938 kB / 446.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.2998, allocations: 1.291 MB / 447.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2998, allocations: 0 / 447.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.3009, allocations: 274.5 kB / 447.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.301, allocations: 27.84 kB / 448 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.301, allocations: 7.984 kB / 448 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.3014, allocations: 27.97 kB / 448 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3015, allocations: 23.91 kB / 448 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3015, allocations: 4 kB / 448 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.3019, allocations: 231.1 kB / 448.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3019, allocations: 0 / 448.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.3023, allocations: 67.89 kB / 448.3 MB, free: 7.25 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.0001485/0.3024, allocations: 103.2 kB / 448.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.3035, allocations: 402 kB / 448.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3035, allocations: 4 kB / 448.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.304, allocations: 211.3 kB / 449 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3043, allocations: 53.28 kB / 449.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3055, allocations: 0.5031 MB / 449.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.3059, allocations: 0.7519 MB / 450.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.306, allocations: 27.42 kB / 450.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.306, allocations: 0 / 450.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of Templates: time 0.007948/0.314, allocations: 4.662 MB / 455 MB, free: 472 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Comparator/Comparator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.837120888987556]