Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 47.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3324, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00434/0.3367, allocations: 2.841 MB / 423.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3379, allocations: 0.6154 MB / 424.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.3381, allocations: 11.94 kB / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.3383, allocations: 47.56 kB / 424.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.3385, allocations: 95.11 kB / 424.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.3388, allocations: 71.91 kB / 424.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.3392, allocations: 350.9 kB / 424.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.3394, allocations: 113.9 kB / 425 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.3396, allocations: 127.6 kB / 425.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.3398, allocations: 151.3 kB / 425.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.061e-05/0.3399, allocations: 32 kB / 425.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.3399, allocations: 32 kB / 425.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.34, allocations: 67.77 kB / 425.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3401, allocations: 167.2 kB / 425.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.3406, allocations: 350.3 kB / 425.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3406, allocations: 0 / 425.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3406, allocations: 3.938 kB / 425.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.3406, allocations: 0 / 425.9 MB, free: 10.07 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001037/0.3416, allocations: 0.6001 MB / 426.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3417, allocations: 15.97 kB / 426.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.3418, allocations: 32.75 kB / 426.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.3422, allocations: 267.8 kB / 426.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.3423, allocations: 24.94 kB / 426.8 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.3423, allocations: 28.38 kB / 426.9 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.3428, allocations: 257.1 kB / 427.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3428, allocations: 0 / 427.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.3429, allocations: 12 kB / 427.1 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3429, allocations: 4 kB / 427.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.3433, allocations: 190.1 kB / 427.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.3449, allocations: 1.01 MB / 428.3 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.3455, allocations: 316.8 kB / 428.6 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.3457, allocations: 132.8 kB / 428.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3457, allocations: 0 / 428.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.3458, allocations: 38.56 kB / 428.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.3458, allocations: 0 / 428.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.00163/0.3474, allocations: 0.7747 MB / 429.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3474, allocations: 63.28 kB / 429.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.3477, allocations: 186.3 kB / 429.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3477, allocations: 33.7 kB / 429.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3478, allocations: 172.6 kB / 430 MB, free: 5.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.852e-05/0.3479, allocations: 99.16 kB / 430.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.64e-05/0.348, allocations: 53.98 kB / 430.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3482, allocations: 334.7 kB / 430.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3483, allocations: 72.53 kB / 430.6 MB, free: 5.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3485, allocations: 103.6 kB / 430.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.3488, allocations: 174.5 kB / 430.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3488, allocations: 8 kB / 430.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005736/0.3493, allocations: 318 kB / 431.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3494, allocations: 4 kB / 431.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3494, allocations: 4 kB / 431.2 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/0.3497, allocations: 92.83 kB / 431.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3499, allocations: 43.92 kB / 431.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.3524, allocations: 2.092 MB / 433.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3525, allocations: 11.97 kB / 433.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.3525, allocations: 8 kB / 433.4 MB, free: 2.07 MB / 334.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.0002163/0.3527, allocations: 147.7 kB / 433.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.3528, allocations: 23.86 kB / 433.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.3529, allocations: 29.86 kB / 433.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3529, allocations: 0 / 433.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3529, allocations: 4 kB / 433.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3529, allocations: 3.938 kB / 433.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.3541, allocations: 0.741 MB / 434.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3541, allocations: 0 / 434.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.3543, allocations: 31.98 kB / 434.4 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.3545, allocations: 76.72 kB / 434.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.3545, allocations: 15.98 kB / 434.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.3567, allocations: 1.987 MB / 436.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3567, allocations: 3.938 kB / 436.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/0.3576, allocations: 464 kB / 436.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.3576, allocations: 92.95 kB / 437 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.3577, allocations: 12 kB / 437 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3579, allocations: 11.98 kB / 437 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.3579, allocations: 23.97 kB / 437.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3579, allocations: 4 kB / 437.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3581, allocations: 148.3 kB / 437.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 4 kB / 437.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000441/0.3585, allocations: 72 kB / 437.3 MB, free: 13.95 MB / 350.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.0001437/0.3587, allocations: 103.2 kB / 437.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007465/0.3594, allocations: 359.3 kB / 437.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3594, allocations: 0 / 437.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.3599, allocations: 250.4 kB / 438 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3603, allocations: 42.88 kB / 438 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3618, allocations: 0.7812 MB / 438.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.3625, allocations: 0.7675 MB / 439.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.264e-05/0.3626, allocations: 22.28 kB / 439.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.3627, allocations: 19.44 kB / 439.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3627, allocations: 0 / 439.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Templates: time 0.008523/0.3712, allocations: 3.35 MB / 443 MB, free: 8.207 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.049679597839713]