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.001541/0.001541, allocations: 117.7 kB / 19.18 MB, free: 3.906 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.002505/0.002505, allocations: 201 kB / 22.12 MB, free: 0.9648 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.451/1.451, allocations: 230.5 MB / 255.4 MB, free: 15.01 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.002147/0.002147, allocations: 71.83 kB / 374.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.1012, allocations: 53.31 MB / 428.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004786/0.106, allocations: 3.11 MB / 431.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1077, allocations: 0.8026 MB / 432 MB, free: 404 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.108, allocations: 7.938 kB / 432 MB, free: 396 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.1082, allocations: 59.44 kB / 432.1 MB, free: 336 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1085, allocations: 123 kB / 432.2 MB, free: 212 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.1089, allocations: 127.8 kB / 432.3 MB, free: 84 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1795/0.2884, allocations: 453.5 kB / 432.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.2887, allocations: 96.48 kB / 432.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.289, allocations: 184.1 kB / 433 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.2892, allocations: 191.4 kB / 433.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.002e-05/0.2893, allocations: 44.66 kB / 433.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.319e-05/0.2894, allocations: 44.62 kB / 433.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.2894, allocations: 87.47 kB / 433.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.2896, allocations: 200.1 kB / 433.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.29, allocations: 0.49 MB / 434.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.29, allocations: 3.938 kB / 434.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.29, allocations: 0.5938 kB / 434.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.29, allocations: 0 / 434.1 MB, free: 8.008 MB / 350.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.001131/0.2911, allocations: 0.7137 MB / 434.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2912, allocations: 9.75 kB / 434.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.2912, allocations: 42.45 kB / 434.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.2916, allocations: 312.8 kB / 435.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.2916, allocations: 22.16 kB / 435.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.2917, allocations: 30.52 kB / 435.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.2923, allocations: 356.4 kB / 435.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2923, allocations: 1.062 kB / 435.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2924, allocations: 10.09 kB / 435.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2924, allocations: 7.141 kB / 435.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.2931, allocations: 305.1 kB / 435.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.2951, allocations: 1.268 MB / 437.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.2959, allocations: 328.7 kB / 437.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.2963, allocations: 128.1 kB / 437.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.2963, allocations: 3.344 kB / 437.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000473/0.2968, allocations: 197.8 kB / 437.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.2968, allocations: 0 / 437.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00207/0.2989, allocations: 0.6423 MB / 438.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.2989, allocations: 110 kB / 438.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.2992, allocations: 292.8 kB / 438.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2992, allocations: 31.33 kB / 438.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2993, allocations: 210 kB / 439.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.2994, allocations: 62.38 kB / 439.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.2995, allocations: 66 kB / 439.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.2995, allocations: 339 kB / 439.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.2999, allocations: 113 kB / 439.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3003, allocations: 217.6 kB / 439.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.3009, allocations: 336.8 kB / 440.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.301, allocations: 5.062 kB / 440.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001167/0.3021, allocations: 482.8 kB / 440.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.3022, allocations: 37.7 kB / 440.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3022, allocations: 3.812 kB / 440.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.3025, allocations: 61.73 kB / 440.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.3027, allocations: 73.67 kB / 440.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.3045, allocations: 1.632 MB / 442.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.3049, allocations: 58.33 kB / 442.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3049, allocations: 14.47 kB / 442.5 MB, free: 3.434 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.000134/0.305, allocations: 156.5 kB / 442.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.3051, allocations: 28.72 kB / 442.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.3051, allocations: 35.84 kB / 442.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3051, allocations: 5.422 kB / 442.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3051, allocations: 0 / 442.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3051, allocations: 2.047 kB / 442.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.3065, allocations: 0.7958 MB / 443.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3065, allocations: 0 / 443.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.3068, allocations: 47.86 kB / 443.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.307, allocations: 63.14 kB / 443.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.307, allocations: 3.062 kB / 443.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.3086, allocations: 1.629 MB / 445.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3086, allocations: 3.688 kB / 445.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.3099, allocations: 0.5589 MB / 445.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.31, allocations: 111.5 kB / 445.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.31, allocations: 6.797 kB / 445.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.3103, allocations: 34.75 kB / 446 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.3104, allocations: 21.17 kB / 446 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3104, allocations: 9.172 kB / 446 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3106, allocations: 212.1 kB / 446.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3106, allocations: 0 / 446.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.311, allocations: 81.02 kB / 446.3 MB, free: 0.7891 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.0001117/0.3111, allocations: 114.8 kB / 446.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009277/0.3121, allocations: 445.4 kB / 446.8 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3121, allocations: 1.219 kB / 446.8 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.3125, allocations: 231.8 kB / 447.1 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3129, allocations: 59.36 kB / 447.1 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.3156, allocations: 0.88 MB / 448 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.316, allocations: 0.7644 MB / 448.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.3161, allocations: 23.95 kB / 448.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3161, allocations: 4.781 kB / 448.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Templates: time 0.00879/0.3249, allocations: 5.311 MB / 454.1 MB, free: 14.03 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.3728099399013445]