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.0008758/0.0008758, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008831/0.0008831, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8704/0.8704, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.442e-06/1.442e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.019e-05, allocations: 6.219 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002904/0.002925, allocations: 2.634 MB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003943, allocations: 0.6348 MB / 327.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.004062, allocations: 8 kB / 327.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.004193, allocations: 47.5 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.004319, allocations: 91.19 kB / 328 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.004492, allocations: 83.75 kB / 328.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.004734, allocations: 366.7 kB / 328.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.004905, allocations: 99.62 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.005045, allocations: 199.6 kB / 328.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.005179, allocations: 111.7 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.005218, allocations: 32 kB / 328.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.934e-05/0.005247, allocations: 32 kB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.00529, allocations: 67.69 kB / 329 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.617e-05/0.005366, allocations: 115.7 kB / 329.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.00565, allocations: 366.8 kB / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005652, allocations: 0 / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005654, allocations: 0 / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005659, 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.0006901/0.006349, allocations: 0.5356 MB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.006389, allocations: 8.031 kB / 330 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.006443, allocations: 70.73 kB / 330.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.006491, allocations: 36.73 kB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.006735, allocations: 189.3 kB / 330.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.006751, allocations: 25.03 kB / 330.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.00679, allocations: 32.38 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.007111, allocations: 302 kB / 330.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.007119, allocations: 192 / 330.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.007139, allocations: 16.12 kB / 330.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.007147, allocations: 8 kB / 330.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.007362, allocations: 186.5 kB / 330.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009373/0.0083, allocations: 0.9023 MB / 331.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.008538, allocations: 166.6 kB / 331.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.008677, allocations: 132.8 kB / 332 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.008687, allocations: 0 / 332 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.008711, allocations: 38.55 kB / 332.1 MB, free: 8.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 9.32e-07/0.008712, allocations: 0 / 332.1 MB, free: 8.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.00103/0.009743, allocations: 0.6996 MB / 332.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.009778, allocations: 55.41 kB / 332.8 MB, free: 7.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.009925, allocations: 188.8 kB / 333 MB, free: 7.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.009944, allocations: 29.7 kB / 333 MB, free: 7.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.01004, allocations: 176.5 kB / 333.2 MB, free: 7.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.0101, allocations: 91.17 kB / 333.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.01015, allocations: 49.98 kB / 333.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.01027, allocations: 334.8 kB / 333.7 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.01037, allocations: 72.53 kB / 333.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.01049, allocations: 103.6 kB / 333.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.01069, allocations: 182.1 kB / 334 MB, free: 6.207 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01069, allocations: 0 / 334 MB, free: 6.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000371/0.01107, allocations: 322.1 kB / 334.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01108, allocations: 4 kB / 334.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01109, allocations: 160 / 334.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.0113, allocations: 92.69 kB / 334.4 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.01141, allocations: 51.91 kB / 334.5 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.01272, allocations: 1.973 MB / 336.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.01278, allocations: 4 kB / 336.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.01279, allocations: 8 kB / 336.5 MB, free: 3.633 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 0.000109/0.0129, allocations: 142.4 kB / 336.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.01293, allocations: 23.92 kB / 336.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.01296, allocations: 29.95 kB / 336.7 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01296, allocations: 4.094 kB / 336.7 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.01297, allocations: 7.938 kB / 336.7 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01297, allocations: 4 kB / 336.7 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008902/0.01386, allocations: 0.674 MB / 337.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01387, allocations: 11.92 kB / 337.4 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.01397, allocations: 39.98 kB / 337.4 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.01411, allocations: 72.73 kB / 337.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.01412, allocations: 4 kB / 337.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.01529, allocations: 1.875 MB / 339.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0153, allocations: 0 / 339.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.01572, allocations: 455.9 kB / 339.8 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.01574, allocations: 19.86 kB / 339.8 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.01575, allocations: 8 kB / 339.8 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.01584, allocations: 20.33 kB / 339.8 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.01588, allocations: 23.95 kB / 339.9 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01589, allocations: 4 kB / 339.9 MB, free: 32 kB / 298.7 MB Notification: Performance of sorting global known variables: time 9.039e-05/0.01598, allocations: 151.4 kB / 340 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01598, allocations: 0 / 340 MB, free: 15.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.01627, 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.0006929/0.01697, allocations: 0.9983 MB / 341.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.0174, allocations: 346.6 kB / 341.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.0174, allocations: 4 kB / 341.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.01763, allocations: 250.6 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.0002614/0.01789, allocations: 40.22 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.002253/0.02015, allocations: 2.728 MB / 344.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.394e-05/0.02024, allocations: 158.8 kB / 344.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.02029, allocations: 18.3 kB / 344.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.02038, allocations: 80.47 kB / 344.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02038, allocations: 0 / 344.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.04252, allocations: 6.746 MB / 351.4 MB, free: 4.445 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.983/7.025, allocations: 11.27 kB / 351.4 MB, free: 4.438 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 & /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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.710826988331974]