Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 165 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.496e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003867/0.003892, allocations: 2.645 MB / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.005291, allocations: 0.6394 MB / 328.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.005505, allocations: 2.969 kB / 328.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.005773, allocations: 49.77 kB / 328.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.00607, allocations: 98.19 kB / 328.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.006352, allocations: 71.64 kB / 328.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.006813, allocations: 364.1 kB / 328.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.007054, allocations: 108.5 kB / 329 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.007297, allocations: 204.1 kB / 329.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.007502, allocations: 105.7 kB / 329.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.007553, allocations: 31.94 kB / 329.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.00761, allocations: 31.12 kB / 329.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.00769, allocations: 75.95 kB / 329.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.007845, allocations: 116.2 kB / 329.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.008303, allocations: 369.8 kB / 330 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.008308, allocations: 0.6562 kB / 330 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008309, allocations: 1.25 kB / 330 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.008315, allocations: 0 / 330 MB, free: 13.54 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009431/0.009258, allocations: 0.5214 MB / 330.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.009293, allocations: 9.391 kB / 330.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.908e-05/0.009372, allocations: 33.56 kB / 330.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.009704, allocations: 206 kB / 330.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.009731, allocations: 19.84 kB / 330.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.00978, allocations: 27.78 kB / 330.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.01027, allocations: 302.4 kB / 331.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01028, allocations: 192 / 331.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.01031, allocations: 15.25 kB / 331.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01032, allocations: 11.22 kB / 331.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.01067, allocations: 183.5 kB / 331.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.01217, allocations: 0.8534 MB / 332.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.01252, allocations: 155.8 kB / 332.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.01275, allocations: 134.4 kB / 332.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.01277, allocations: 7.344 kB / 332.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.0128, allocations: 32.69 kB / 332.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.0128, allocations: 0 / 332.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.00156/0.01436, allocations: 0.7002 MB / 333.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.0144, allocations: 58.56 kB / 333.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.01462, allocations: 190.3 kB / 333.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.01465, allocations: 30.95 kB / 333.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.01479, allocations: 170.3 kB / 333.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.01487, allocations: 98.06 kB / 333.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.01495, allocations: 46.42 kB / 333.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.01512, allocations: 332.5 kB / 334.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.01526, allocations: 74.34 kB / 334.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.01542, allocations: 96.8 kB / 334.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.01573, allocations: 182.7 kB / 334.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01573, allocations: 1.531 kB / 334.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005544/0.01628, allocations: 319.2 kB / 334.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.0163, allocations: 5.562 kB / 334.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.0163, allocations: 0 / 334.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/0.01659, allocations: 95.66 kB / 334.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.01678, allocations: 38.64 kB / 334.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.01902, allocations: 1.948 MB / 336.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.01914, allocations: 6.719 kB / 336.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.01916, allocations: 10.25 kB / 336.8 MB, free: 8.254 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.01931, allocations: 140.3 kB / 337 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.01937, allocations: 26.39 kB / 337 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.01942, allocations: 29.52 kB / 337 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01942, allocations: 2.719 kB / 337 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.01943, allocations: 2.25 kB / 337 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01943, allocations: 4.062 kB / 337 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.02049, allocations: 0.641 MB / 337.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02049, allocations: 0 / 337.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.02067, allocations: 42.88 kB / 337.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.02088, allocations: 71.12 kB / 337.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.0209, allocations: 11.2 kB / 337.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.02282, allocations: 1.837 MB / 339.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02282, allocations: 1.219 kB / 339.6 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006853/0.0235, allocations: 467.7 kB / 340.1 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.02354, allocations: 21.97 kB / 340.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.02357, allocations: 6.281 kB / 340.1 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.02374, allocations: 10.62 kB / 340.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.0238, allocations: 22.83 kB / 340.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.02381, allocations: 4.5 kB / 340.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.02394, allocations: 150.8 kB / 340.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02394, allocations: 0 / 340.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.02438, allocations: 84.5 kB / 340.4 MB, free: 5.355 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.02451, allocations: 103.2 kB / 340.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006706/0.02518, allocations: 350.4 kB / 340.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02518, allocations: 4.219 kB / 340.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.02564, allocations: 238.6 kB / 341 MB, free: 4.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.02599, allocations: 40.05 kB / 341.1 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.02717, allocations: 0.651 MB / 341.7 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.02734, allocations: 158.8 kB / 341.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.085e-05/0.02741, allocations: 25.94 kB / 341.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.02745, allocations: 16.5 kB / 341.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02745, allocations: 0 / 341.9 MB, free: 3.703 MB / 302.1 MB Notification: Performance of Templates: time 0.007765/0.03522, allocations: 3.283 MB / 345.2 MB, free: 472 kB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.46421081200242]