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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 113.7 kB / 17.06 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 197.3 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 51.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2581, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004309/0.2625, allocations: 2.812 MB / 403.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2635, allocations: 0.6154 MB / 403.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.2637, allocations: 8 kB / 403.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.2638, allocations: 47.5 kB / 403.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.264, allocations: 79.2 kB / 403.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.2642, allocations: 79.89 kB / 403.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.2646, allocations: 354.9 kB / 404.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.2649, allocations: 135.4 kB / 404.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.2651, allocations: 131.5 kB / 404.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2653, allocations: 151.4 kB / 404.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.2653, allocations: 32 kB / 404.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.2654, allocations: 32 kB / 404.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.751e-05/0.2655, allocations: 67.77 kB / 404.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.2656, allocations: 167.2 kB / 404.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.2661, allocations: 357.5 kB / 405.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2661, allocations: 0 / 405.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2661, allocations: 0 / 405.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2661, allocations: 0 / 405.3 MB, free: 3.738 MB / 318.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.0009015/0.267, allocations: 0.6 MB / 405.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2671, allocations: 15.97 kB / 405.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/0.2672, allocations: 70.66 kB / 406 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.2672, allocations: 32.75 kB / 406 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.2677, allocations: 263.9 kB / 406.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.2677, allocations: 20.92 kB / 406.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.2677, allocations: 32.38 kB / 406.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.2682, allocations: 257 kB / 406.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2683, allocations: 0 / 406.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.2683, allocations: 12 kB / 406.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2683, allocations: 8 kB / 406.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.2687, allocations: 186.1 kB / 406.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.2703, allocations: 1.006 MB / 407.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.2708, allocations: 335.3 kB / 408.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.2711, allocations: 144 kB / 408.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.2711, allocations: 4 kB / 408.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.2711, allocations: 38.56 kB / 408.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.854e-06/0.2711, allocations: 0 / 408.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001629/0.2728, allocations: 0.7832 MB / 409.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.2728, allocations: 63.34 kB / 409.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.2731, allocations: 190.3 kB / 409.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2731, allocations: 29.7 kB / 409.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2732, allocations: 172.6 kB / 409.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.2733, allocations: 95.16 kB / 409.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.2734, allocations: 42 kB / 409.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2736, allocations: 338.8 kB / 410 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2737, allocations: 76.53 kB / 410 MB, free: 14.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.2739, allocations: 95.64 kB / 410.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.2742, allocations: 194.1 kB / 410.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2742, allocations: 0 / 410.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005672/0.2748, allocations: 318.2 kB / 410.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2748, allocations: 4 kB / 410.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2748, allocations: 3.938 kB / 410.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003063/0.2751, allocations: 84.81 kB / 410.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.2753, allocations: 51.84 kB / 410.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/0.2778, allocations: 2.096 MB / 412.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.2779, allocations: 11.97 kB / 412.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.278, allocations: 8 kB / 412.9 MB, free: 11.63 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.0001713/0.2781, allocations: 137.8 kB / 413 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.2782, allocations: 23.92 kB / 413.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.2783, allocations: 33.86 kB / 413.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2783, allocations: 0 / 413.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.2783, allocations: 4 kB / 413.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2783, allocations: 3.938 kB / 413.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2795, allocations: 0.7448 MB / 413.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2795, allocations: 0 / 413.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.2797, allocations: 39.92 kB / 413.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/0.2799, allocations: 68.8 kB / 413.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.2799, allocations: 4 kB / 413.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.282, allocations: 1.999 MB / 415.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.282, allocations: 0 / 415.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.2827, allocations: 467.8 kB / 416.4 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.2828, allocations: 89.08 kB / 416.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.2829, allocations: 12.06 kB / 416.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.283, allocations: 15.98 kB / 416.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.2831, allocations: 15.97 kB / 416.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.2831, allocations: 8 kB / 416.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.2833, allocations: 148.3 kB / 416.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2833, allocations: 0 / 416.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.2837, allocations: 76 kB / 416.8 MB, free: 7.512 MB / 334.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.001094/0.2848, allocations: 1.002 MB / 417.8 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007477/0.2856, allocations: 374.7 kB / 418.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2856, allocations: 0 / 418.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000457/0.286, allocations: 258.5 kB / 418.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.2864, allocations: 43.27 kB / 418.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.2902, allocations: 2.827 MB / 421.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.2907, allocations: 0.7675 MB / 422 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.587e-05/0.2908, allocations: 26.28 kB / 422 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.2909, allocations: 91.34 kB / 422.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2909, allocations: 0 / 422.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.3243, allocations: 5.781 MB / 427.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.52, allocations: 8.047 kB / 427.9 MB, free: 12.32 MB / 350.1 MB (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 --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) 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) Reference file matches