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.001726/0.001726, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002044/0.002044, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.405/1.405, allocations: 230.6 MB / 257.5 MB, free: 7.785 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+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 43.94 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2502, allocations: 53.37 MB / 431.1 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003775/0.254, allocations: 2.634 MB / 433.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2551, allocations: 0.6193 MB / 434.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.2552, allocations: 4 kB / 434.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.2554, allocations: 51.5 kB / 434.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2556, allocations: 95.17 kB / 434.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.2558, allocations: 75.91 kB / 434.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.2561, allocations: 346.9 kB / 434.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.2564, allocations: 117.4 kB / 435 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.2565, allocations: 135.5 kB / 435.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.2567, allocations: 147.4 kB / 435.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.2568, allocations: 28 kB / 435.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.962e-05/0.2568, allocations: 32 kB / 435.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.2569, allocations: 71.7 kB / 435.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.257, allocations: 135.4 kB / 435.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.2574, allocations: 362.5 kB / 435.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2574, allocations: 0 / 435.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2574, allocations: 4 kB / 435.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.2574, allocations: 0 / 435.9 MB, free: 1.934 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.0008806/0.2583, allocations: 0.5248 MB / 436.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2583, allocations: 12.03 kB / 436.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.436e-05/0.2584, allocations: 70.72 kB / 436.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.2585, allocations: 36.75 kB / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.2588, allocations: 198.8 kB / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2588, allocations: 21.03 kB / 436.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.2589, allocations: 36.31 kB / 436.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.2593, allocations: 305.6 kB / 437.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2594, allocations: 0 / 437.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.2594, allocations: 12 kB / 437.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2594, allocations: 4 kB / 437.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.2597, allocations: 194.5 kB / 437.3 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.2611, allocations: 0.9053 MB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.2615, allocations: 166.6 kB / 438.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.2617, allocations: 131.4 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.2617, allocations: 4 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.2617, allocations: 38.56 kB / 438.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.925e-06/0.2617, allocations: 3.984 kB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.00135/0.2631, allocations: 0.6915 MB / 439.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2631, allocations: 59.39 kB / 439.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.2633, allocations: 196.2 kB / 439.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.2633, allocations: 29.7 kB / 439.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2634, allocations: 176.5 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.2635, allocations: 91.2 kB / 439.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.2636, allocations: 53.94 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2637, allocations: 330.8 kB / 440.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2639, allocations: 72.53 kB / 440.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.264, allocations: 103.6 kB / 440.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.2643, allocations: 178.2 kB / 440.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2643, allocations: 4 kB / 440.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005047/0.2648, allocations: 310.2 kB / 440.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2648, allocations: 7.984 kB / 440.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2648, allocations: 0 / 440.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/0.2651, allocations: 92.78 kB / 440.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2652, allocations: 47.86 kB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.2672, allocations: 1.965 MB / 442.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2673, allocations: 16.03 kB / 442.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2674, allocations: 12 kB / 443 MB, free: 10.51 MB / 350.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.0001281/0.2675, allocations: 137.8 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.2675, allocations: 15.91 kB / 443.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.2676, allocations: 25.97 kB / 443.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2676, allocations: 4 kB / 443.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2676, allocations: 0 / 443.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.2676, allocations: 16.03 kB / 443.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2686, allocations: 0.6815 MB / 443.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2686, allocations: 0 / 443.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.2688, allocations: 39.92 kB / 443.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/0.269, allocations: 72.75 kB / 443.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.269, allocations: 11.98 kB / 444 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.2708, allocations: 1.876 MB / 445.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2708, allocations: 3.984 kB / 445.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.2715, allocations: 460.3 kB / 446.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.2715, allocations: 23.84 kB / 446.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2715, allocations: 4.062 kB / 446.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2717, allocations: 12 kB / 446.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.2718, allocations: 23.95 kB / 446.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2718, allocations: 4 kB / 446.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.2719, allocations: 147.4 kB / 446.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2719, allocations: 0 / 446.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.2723, allocations: 76 kB / 446.6 MB, free: 6.699 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.001019/0.2733, allocations: 0.994 MB / 447.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006477/0.274, allocations: 354.4 kB / 447.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.274, allocations: 0 / 447.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.2744, allocations: 258.9 kB / 448.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.2747, allocations: 40.17 kB / 448.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.2782, allocations: 2.82 MB / 451 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.2784, allocations: 166.7 kB / 451.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.247e-05/0.2784, allocations: 14.3 kB / 451.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.2785, allocations: 83.41 kB / 451.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2785, allocations: 0 / 451.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/0.3147, allocations: 6.702 MB / 458 MB, free: 11.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.07, allocations: 8.047 kB / 458 MB, free: 11.3 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/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: 13.546917097002733]