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.LowPass.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.006148/0.006148, allocations: 105.7 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.001724/0.001724, 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.456/1.456, allocations: 230.6 MB / 259 MB, free: 8.027 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [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.001978/0.001978, allocations: 67.89 kB / 379.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2563, allocations: 53.36 MB / 433.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004767/0.261, allocations: 3.136 MB / 436.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2626, allocations: 0.8105 MB / 437.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.2628, allocations: 4 kB / 437.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.2629, allocations: 51.44 kB / 437.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.2632, allocations: 123 kB / 437.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.2635, allocations: 131.8 kB / 437.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.264, allocations: 462.2 kB / 437.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.2643, allocations: 99.47 kB / 438 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.2646, allocations: 187.3 kB / 438.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.2649, allocations: 195.2 kB / 438.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.279e-05/0.2649, allocations: 48 kB / 438.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.297e-05/0.265, allocations: 44 kB / 438.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.2651, allocations: 83.7 kB / 438.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.2653, allocations: 191.1 kB / 438.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.2659, allocations: 0.4993 MB / 439.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2659, allocations: 4 kB / 439.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2659, allocations: 0 / 439.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.2659, allocations: 0 / 439.2 MB, free: 0.8789 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001419/0.2673, allocations: 0.6355 MB / 439.9 MB, free: 208 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2673, allocations: 12.03 kB / 439.9 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.2674, allocations: 40.7 kB / 439.9 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.2679, allocations: 260.9 kB / 440.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2679, allocations: 21.03 kB / 440.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.268, allocations: 28.38 kB / 440.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007925/0.2688, allocations: 357 kB / 440.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2688, allocations: 0 / 440.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.2688, allocations: 15.94 kB / 440.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2688, allocations: 4 kB / 440.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.2697, allocations: 310.4 kB / 440.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.272, allocations: 1.218 MB / 442.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/0.2728, allocations: 250.4 kB / 442.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/0.2732, allocations: 132.7 kB / 442.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.2732, allocations: 4 kB / 442.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004919/0.2737, allocations: 197.8 kB / 442.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.2737, allocations: 0 / 442.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002093/0.2758, allocations: 0.5642 MB / 443.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.2759, allocations: 106.8 kB / 443.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.2762, allocations: 300.4 kB / 443.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.2763, allocations: 33.7 kB / 443.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.2764, allocations: 208.3 kB / 443.9 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.245e-05/0.2765, allocations: 67.48 kB / 443.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2766, allocations: 53.66 kB / 444 MB, free: 11.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2768, allocations: 338.8 kB / 444.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.2772, allocations: 116.2 kB / 444.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/0.2776, allocations: 217.3 kB / 444.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007941/0.2784, allocations: 341.8 kB / 445 MB, free: 10.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2784, allocations: 0 / 445 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001275/0.2797, allocations: 483.8 kB / 445.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.2797, allocations: 40.81 kB / 445.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2797, allocations: 0 / 445.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/0.2801, allocations: 64.77 kB / 445.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.2804, allocations: 75.94 kB / 445.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.2827, allocations: 1.537 MB / 447.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.283, allocations: 63.67 kB / 447.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.283, allocations: 8 kB / 447.2 MB, free: 8.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.2832, allocations: 161.8 kB / 447.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.2833, allocations: 31.75 kB / 447.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.2834, allocations: 30.14 kB / 447.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2834, allocations: 0 / 447.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.2834, allocations: 0 / 447.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2834, allocations: 7.984 kB / 447.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.285, allocations: 0.7706 MB / 448.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.285, allocations: 0 / 448.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.2852, allocations: 43.91 kB / 448.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.2855, allocations: 64.84 kB / 448.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.2855, allocations: 4 kB / 448.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.2876, allocations: 1.529 MB / 449.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2876, allocations: 0 / 449.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.2891, allocations: 0.5517 MB / 450.4 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.2891, allocations: 39.77 kB / 450.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.2892, allocations: 12.06 kB / 450.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.2895, allocations: 35.95 kB / 450.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.2895, allocations: 27.89 kB / 450.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.2896, allocations: 7.938 kB / 450.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.2898, allocations: 207.1 kB / 450.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2898, allocations: 0 / 450.8 MB, free: 4.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004141/0.2902, allocations: 83.89 kB / 450.8 MB, free: 4.594 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * 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 (16): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001341/0.2904, allocations: 106.1 kB / 450.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.2914, allocations: 445.6 kB / 451.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2914, allocations: 0 / 451.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.2919, allocations: 235.2 kB / 451.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.2923, allocations: 56.88 kB / 451.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.295, allocations: 0.8752 MB / 452.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.2955, allocations: 0.7639 MB / 453.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.2956, allocations: 23.44 kB / 453.3 MB, free: 2 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2956, allocations: 0 / 453.3 MB, free: 2 MB / 350.1 MB Notification: Performance of Templates: time 0.008538/0.3041, allocations: 5.311 MB / 458.6 MB, free: 12.71 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.555982984835282]