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.0007991/0.0007991, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008918/0.0008918, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9041/0.9041, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.864e-06/1.864e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.059e-05, allocations: 2.281 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00291/0.002931, allocations: 2.634 MB / 327.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009902/0.003921, allocations: 0.6348 MB / 327.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.004064, allocations: 8 kB / 327.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.004206, allocations: 51.44 kB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.00435, allocations: 87.2 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.004525, allocations: 79.81 kB / 328.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.004775, allocations: 366.7 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.004948, allocations: 99.62 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.005096, allocations: 203.6 kB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.005256, allocations: 107.7 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.005305, allocations: 32 kB / 328.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.005339, allocations: 32 kB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.005382, allocations: 71.75 kB / 329 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.005458, allocations: 119.7 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.005723, allocations: 362.8 kB / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.005725, allocations: 0 / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005726, allocations: 0 / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.005733, allocations: 0 / 329.4 MB, free: 11.04 MB / 298.7 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.000697/0.00643, allocations: 0.5358 MB / 330 MB, free: 10.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.006474, allocations: 8.031 kB / 330 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.209e-05/0.006536, allocations: 74.7 kB / 330.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.006593, allocations: 36.75 kB / 330.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.006886, allocations: 193.3 kB / 330.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.006907, allocations: 21.03 kB / 330.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.00695, allocations: 32.38 kB / 330.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.007312, allocations: 298.1 kB / 330.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.007323, allocations: 192 / 330.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.007344, allocations: 20.12 kB / 330.6 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.007352, allocations: 8 kB / 330.7 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.007575, allocations: 186.5 kB / 330.8 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000993/0.008568, allocations: 0.8984 MB / 331.7 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.008815, allocations: 162.6 kB / 331.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.008962, allocations: 132.8 kB / 332 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.008973, allocations: 3.938 kB / 332 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.008999, allocations: 38.56 kB / 332.1 MB, free: 8.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.009001, allocations: 0 / 332.1 MB, free: 8.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001061/0.01006, allocations: 0.7035 MB / 332.8 MB, free: 7.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.01009, allocations: 55.41 kB / 332.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.01023, allocations: 188.8 kB / 333 MB, free: 7.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.01024, allocations: 25.7 kB / 333 MB, free: 7.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.01032, allocations: 176.5 kB / 333.2 MB, free: 7.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.01037, allocations: 95.17 kB / 333.3 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.01042, allocations: 49.98 kB / 333.3 MB, free: 6.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.01051, allocations: 326.8 kB / 333.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.0106, allocations: 68.53 kB / 333.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.01071, allocations: 111.6 kB / 333.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.01089, allocations: 186.1 kB / 334 MB, free: 6.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01089, allocations: 0 / 334 MB, free: 6.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003397/0.01123, allocations: 314.1 kB / 334.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01125, allocations: 4 kB / 334.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.01125, allocations: 4.188 kB / 334.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.01143, allocations: 92.73 kB / 334.4 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01154, allocations: 47.92 kB / 334.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.01287, allocations: 1.974 MB / 336.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.01293, allocations: 7.938 kB / 336.5 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.01294, allocations: 12 kB / 336.5 MB, free: 3.621 MB / 298.7 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 9.953e-05/0.01304, allocations: 138.4 kB / 336.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.01308, allocations: 23.84 kB / 336.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.01311, allocations: 25.97 kB / 336.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01311, allocations: 4.094 kB / 336.7 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.01312, allocations: 12 kB / 336.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01312, allocations: 4 kB / 336.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006523/0.01378, allocations: 0.6818 MB / 337.4 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01378, allocations: 0 / 337.4 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.01388, allocations: 39.92 kB / 337.4 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.01401, allocations: 80.73 kB / 337.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01402, allocations: 3.984 kB / 337.5 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.0153, allocations: 1.868 MB / 339.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.0153, allocations: 0 / 339.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.0158, allocations: 459.9 kB / 339.8 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.01583, allocations: 23.84 kB / 339.8 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.01585, allocations: 8 kB / 339.8 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.01593, allocations: 12.28 kB / 339.8 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.01598, allocations: 24.02 kB / 339.9 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.01599, allocations: 8 kB / 339.9 MB, free: 24 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.436e-05/0.01609, allocations: 151.4 kB / 340 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01609, allocations: 0 / 340 MB, free: 15.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.01636, allocations: 76 kB / 340.1 MB, free: 15.8 MB / 314.7 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.0005783/0.01694, allocations: 0.9906 MB / 341.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00059/0.01753, allocations: 358.6 kB / 341.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01753, allocations: 0 / 341.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.01778, allocations: 246.5 kB / 341.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.01804, allocations: 43.11 kB / 341.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.02049, allocations: 2.726 MB / 344.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.0206, allocations: 158.8 kB / 344.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.623e-05/0.02066, allocations: 26.28 kB / 344.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.02075, allocations: 84.47 kB / 344.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02075, allocations: 4 kB / 344.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.04418, allocations: 6.744 MB / 351.4 MB, free: 4.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.295, allocations: 8.062 kB / 351.5 MB, free: 4.422 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119904 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/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] "" Variables in the reference:time,C1.v,C3.v,C5.v,L1.i,L2.i Variables in the result:time,C1.v,C3.v,C5.v,L1.i,L2.i [Calling sys.exit(0), Time elapsed: 9.186196826398373]