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.00121/0.00121, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001315/0.001315, allocations: 189.2 kB / 24.49 MB, free: 3.945 MB / 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.352/1.352, allocations: 225.7 MB / 253.3 MB, free: 12.85 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 43.92 kB / 371.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2455, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004041/0.2496, allocations: 2.618 MB / 426 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.2505, allocations: 0.5843 MB / 426.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.2506, allocations: 11.94 kB / 426.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.2508, allocations: 47.5 kB / 426.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.251, allocations: 91.19 kB / 426.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.2512, allocations: 71.91 kB / 426.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000382/0.2516, allocations: 350.9 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.2518, allocations: 111.8 kB / 427.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.252, allocations: 131.6 kB / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.2522, allocations: 151.3 kB / 427.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.2522, allocations: 32 kB / 427.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.417e-05/0.2523, allocations: 32 kB / 427.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.2524, allocations: 71.75 kB / 427.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2525, allocations: 135.4 kB / 427.8 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.2529, allocations: 362.5 kB / 428.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2529, allocations: 0 / 428.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2529, allocations: 0 / 428.1 MB, free: 9.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2529, allocations: 0 / 428.1 MB, free: 9.613 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.0008558/0.2537, allocations: 0.5248 MB / 428.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2538, allocations: 16.02 kB / 428.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.144e-05/0.2538, allocations: 12.84 kB / 428.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.925e-05/0.2539, allocations: 62.73 kB / 428.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.2539, allocations: 32.75 kB / 428.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.2542, allocations: 202 kB / 429 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2543, allocations: 21.03 kB / 429 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.2543, allocations: 28.38 kB / 429 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.2548, allocations: 301.4 kB / 429.3 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2548, allocations: 3.984 kB / 429.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.2548, allocations: 12 kB / 429.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2549, allocations: 8 kB / 429.3 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.2552, allocations: 186.5 kB / 429.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.2566, allocations: 0.9016 MB / 430.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.257, allocations: 170.6 kB / 430.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.2572, allocations: 132.7 kB / 430.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.2572, allocations: 4 kB / 430.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.2572, allocations: 34.94 kB / 430.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.2572, allocations: 4 kB / 430.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001427/0.2586, allocations: 0.6998 MB / 431.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.2587, allocations: 55.41 kB / 431.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.2589, allocations: 191.2 kB / 431.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.2589, allocations: 37.7 kB / 431.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.259, allocations: 176.5 kB / 431.9 MB, free: 5.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.2591, allocations: 91.23 kB / 432 MB, free: 5.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.2592, allocations: 45.98 kB / 432 MB, free: 5.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2593, allocations: 338.8 kB / 432.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2595, allocations: 72.53 kB / 432.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.2596, allocations: 111.6 kB / 432.6 MB, free: 4.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.2599, allocations: 186.1 kB / 432.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2599, allocations: 0 / 432.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005284/0.2604, allocations: 318.1 kB / 433 MB, free: 4.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2604, allocations: 10.5 kB / 433.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2605, allocations: 0 / 433.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/0.2607, allocations: 88.69 kB / 433.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.2609, allocations: 48 kB / 433.2 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.263, allocations: 1.969 MB / 435.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.2631, allocations: 8.031 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.2632, allocations: 12.06 kB / 435.2 MB, free: 2.168 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.0001471/0.2633, allocations: 141.7 kB / 435.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.2634, allocations: 23.86 kB / 435.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.2634, allocations: 29.95 kB / 435.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.2634, allocations: 7.984 kB / 435.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2634, allocations: 3.938 kB / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2634, allocations: 0 / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.2645, allocations: 0.6855 MB / 436.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2645, allocations: 0 / 436.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.2647, allocations: 35.92 kB / 436.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.2649, allocations: 76.83 kB / 436.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2649, allocations: 4 kB / 436.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.2667, allocations: 1.875 MB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2667, allocations: 0 / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.2673, allocations: 468.2 kB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.2674, allocations: 15.97 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.2674, allocations: 8 kB / 438.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.2676, allocations: 11.98 kB / 438.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.2676, allocations: 19.95 kB / 438.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2676, allocations: 12 kB / 438.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.2678, allocations: 136.4 kB / 438.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2678, allocations: 0 / 438.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.2682, allocations: 80 kB / 438.8 MB, free: 14.36 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.0009576/0.2691, allocations: 0.9904 MB / 439.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.2698, allocations: 358.4 kB / 440.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2698, allocations: 3.938 kB / 440.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.2702, allocations: 250.5 kB / 440.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.2705, allocations: 40.22 kB / 440.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.274, allocations: 2.827 MB / 443.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.2742, allocations: 162.8 kB / 443.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.615e-05/0.2742, allocations: 18.28 kB / 443.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.2744, allocations: 83.41 kB / 443.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2744, allocations: 0 / 443.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.3058, allocations: 6.321 MB / 449.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.57, allocations: 6.688 kB / 449.8 MB, free: 3.344 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/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: 14.081320620025508]