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.001498/0.001498, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001637/0.001637, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 8.027 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.92 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.245, allocations: 53.36 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004729/0.2497, allocations: 2.863 MB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.2512, allocations: 0.6582 MB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.2515, allocations: 4 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.2517, allocations: 47.5 kB / 435.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.252, allocations: 95.17 kB / 435.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.2522, allocations: 75.91 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.2527, allocations: 350.9 kB / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.253, allocations: 111.8 kB / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.2532, allocations: 135.5 kB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.2535, allocations: 147.4 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.2535, allocations: 31.94 kB / 436.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-05/0.2536, allocations: 32 kB / 436.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.606e-05/0.2537, allocations: 63.83 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.2538, allocations: 163.2 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.2543, allocations: 367.3 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2543, allocations: 4 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2543, allocations: 0 / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.2543, allocations: 0 / 437 MB, free: 1.719 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.0008942/0.2552, allocations: 0.5248 MB / 437.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2552, allocations: 8.031 kB / 437.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.731e-05/0.2552, allocations: 8.844 kB / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.2553, allocations: 66.72 kB / 437.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.646e-05/0.2554, allocations: 36.75 kB / 437.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2557, allocations: 198.8 kB / 437.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.2557, allocations: 21.03 kB / 437.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.2558, allocations: 36.38 kB / 437.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.2562, allocations: 254 kB / 438.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2562, allocations: 0 / 438.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.2563, allocations: 12 kB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2563, allocations: 4 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.2566, allocations: 190.5 kB / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.2582, allocations: 0.972 MB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.2585, allocations: 162.6 kB / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.2587, allocations: 135.8 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.2588, allocations: 0 / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.2588, allocations: 42.94 kB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 9.21e-07/0.2588, allocations: 0 / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001421/0.2602, allocations: 0.7033 MB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.2603, allocations: 51.41 kB / 440.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.2605, allocations: 192 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2605, allocations: 29.7 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2606, allocations: 172.5 kB / 440.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/0.2607, allocations: 95.22 kB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.2608, allocations: 49.98 kB / 441 MB, free: 13.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2609, allocations: 334.8 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2611, allocations: 76.53 kB / 441.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.2612, allocations: 103.6 kB / 441.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.2615, allocations: 174.2 kB / 441.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2615, allocations: 4 kB / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005575/0.2621, allocations: 318.1 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2621, allocations: 4 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.2621, allocations: 4 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.2624, allocations: 88.69 kB / 442.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.2626, allocations: 51.91 kB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.2647, allocations: 1.989 MB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2648, allocations: 8.031 kB / 444.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.2648, allocations: 12 kB / 444.1 MB, free: 10.27 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.0002011/0.265, allocations: 133.8 kB / 444.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.2651, allocations: 27.92 kB / 444.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.2651, allocations: 29.95 kB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2651, allocations: 4.094 kB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2651, allocations: 7.984 kB / 444.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2651, allocations: 3.938 kB / 444.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2662, allocations: 0.7127 MB / 445 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2662, allocations: 3.938 kB / 445 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.2664, allocations: 35.98 kB / 445.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001893/0.2666, allocations: 64.8 kB / 445.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.2666, allocations: 11.98 kB / 445.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.2684, allocations: 1.883 MB / 447 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2684, allocations: 0 / 447 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.2691, allocations: 468.2 kB / 447.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.2691, allocations: 23.98 kB / 447.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.2692, allocations: 4 kB / 447.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2693, allocations: 16.27 kB / 447.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.2694, allocations: 15.97 kB / 447.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.2694, allocations: 11.98 kB / 447.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2695, allocations: 147.2 kB / 447.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2695, allocations: 0 / 447.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004108/0.2699, allocations: 80 kB / 447.8 MB, free: 6.41 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.001035/0.2709, allocations: 1.002 MB / 448.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.2717, allocations: 354.5 kB / 449.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2717, allocations: 0 / 449.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.2721, allocations: 250.4 kB / 449.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2724, allocations: 38.7 kB / 449.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.2761, allocations: 2.825 MB / 452.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.2766, allocations: 0.7673 MB / 453 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.087e-05/0.2767, allocations: 18.3 kB / 453 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2768, allocations: 83.41 kB / 453.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2768, allocations: 0 / 453.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04188/0.3187, allocations: 6.077 MB / 459.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.28, allocations: 0 / 459.2 MB, free: 11.02 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.804575329006184]