Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 209.5 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.5 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.89 kB / 378.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3797, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005864/0.3855, allocations: 2.63 MB / 434.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3874, allocations: 0.6154 MB / 435.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.3877, allocations: 8 kB / 435.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.3879, allocations: 55.44 kB / 435.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.3882, allocations: 87.19 kB / 435.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.3886, allocations: 71.91 kB / 435.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.3892, allocations: 354.9 kB / 435.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.3895, allocations: 107.8 kB / 435.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.3898, allocations: 139.5 kB / 436 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.3901, allocations: 151.4 kB / 436.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.306e-05/0.3902, allocations: 32 kB / 436.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.3903, allocations: 32 kB / 436.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3904, allocations: 71.7 kB / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.3906, allocations: 131.5 kB / 436.4 MB, free: 2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.3911, allocations: 363.4 kB / 436.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3911, allocations: 0 / 436.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3912, allocations: 0 / 436.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3912, allocations: 3.938 kB / 436.7 MB, free: 1.645 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.001378/0.3925, allocations: 0.5248 MB / 437.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.832e-05/0.3926, allocations: 12.03 kB / 437.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.629e-05/0.3927, allocations: 4.844 kB / 437.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.693e-05/0.3927, allocations: 66.72 kB / 437.4 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.3928, allocations: 36.75 kB / 437.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.3935, allocations: 206.8 kB / 437.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.3935, allocations: 21.03 kB / 437.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.867e-05/0.3936, allocations: 28.38 kB / 437.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000673/0.3943, allocations: 301.4 kB / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3943, allocations: 0 / 437.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.3943, allocations: 12 kB / 437.9 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3943, allocations: 8 kB / 438 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.3947, allocations: 186.5 kB / 438.1 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.397, allocations: 0.917 MB / 439 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.3975, allocations: 165.1 kB / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.3979, allocations: 132.2 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3979, allocations: 0 / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.3979, allocations: 38.94 kB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.3979, allocations: 3.938 kB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001944/0.3999, allocations: 0.7045 MB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.3999, allocations: 55.41 kB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.4002, allocations: 187.2 kB / 440.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.4003, allocations: 29.7 kB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.4005, allocations: 176.5 kB / 440.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.4006, allocations: 99.22 kB / 440.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.4008, allocations: 49.98 kB / 440.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.401, allocations: 334.8 kB / 441 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.4012, allocations: 72.53 kB / 441.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.4014, allocations: 103.9 kB / 441.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.4019, allocations: 173.6 kB / 441.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4019, allocations: 3.984 kB / 441.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008825/0.4028, allocations: 318.2 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4028, allocations: 4 kB / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4028, allocations: 0 / 441.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/0.4032, allocations: 88.75 kB / 441.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.4034, allocations: 51.84 kB / 441.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.4065, allocations: 1.973 MB / 443.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.4066, allocations: 8.031 kB / 443.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.4067, allocations: 7.984 kB / 443.8 MB, free: 10.21 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.0002376/0.4069, allocations: 145.8 kB / 443.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.407, allocations: 23.86 kB / 443.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.407, allocations: 29.95 kB / 444 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.407, allocations: 0 / 444 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.4071, allocations: 7.938 kB / 444 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4071, allocations: 0 / 444 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.4086, allocations: 0.6854 MB / 444.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4086, allocations: 4.094 kB / 444.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.4089, allocations: 35.92 kB / 444.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.4092, allocations: 72.83 kB / 444.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.4092, allocations: 8 kB / 444.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.4118, allocations: 1.871 MB / 446.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4118, allocations: 4.031 kB / 446.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009667/0.4128, allocations: 459.9 kB / 447.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.4128, allocations: 19.92 kB / 447.1 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.4129, allocations: 8.062 kB / 447.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.4131, allocations: 11.98 kB / 447.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.4132, allocations: 19.95 kB / 447.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.4132, allocations: 8 kB / 447.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.4134, allocations: 143.2 kB / 447.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4134, allocations: 3.938 kB / 447.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006627/0.4141, allocations: 76 kB / 447.4 MB, free: 6.402 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.001414/0.4155, allocations: 1.006 MB / 448.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.4164, allocations: 350.4 kB / 448.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4164, allocations: 64 / 448.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006614/0.417, allocations: 254.5 kB / 449 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.4176, allocations: 44.36 kB / 449 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.4231, allocations: 2.822 MB / 451.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.4233, allocations: 158.7 kB / 452 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.4235, allocations: 26.28 kB / 452 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.4237, allocations: 83.41 kB / 452.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4237, allocations: 0 / 452.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/0.4618, allocations: 6.309 MB / 458.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.97, allocations: 4.062 kB / 458.4 MB, free: 11.36 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.683035094058141]