Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.593/1.593, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003439, allocations: 8 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07718/0.07755, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.329/0.4066, allocations: 71.13 MB / 343.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4069, allocations: 68.16 kB / 343.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.138/0.545, allocations: 32.91 MB / 376.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.545, allocations: 4 kB / 376.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000161/0.5452, allocations: 51.98 kB / 376.3 MB, free: 6.629 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: 559 * Number of variables: 559 Notification: Performance of Generate backend data structure: time 0.009949/0.5551, allocations: 2.464 MB / 378.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.5552, allocations: 11.97 kB / 378.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001133/0.5564, allocations: 301.5 kB / 379 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008437/0.5572, allocations: 249.1 kB / 379.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002558/0.5598, allocations: 0.9469 MB / 380.2 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.56, allocations: 168.8 kB / 380.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007466/0.5608, allocations: 227.9 kB / 380.6 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007792/0.5686, allocations: 2.299 MB / 382.9 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.497e-05/0.5687, allocations: 4 kB / 382.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003515/0.5691, allocations: 92 kB / 383 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.383e-05/0.5692, allocations: 56 kB / 383.1 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006726/0.5759, allocations: 1.707 MB / 384.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02311/0.5991, allocations: 8.68 MB / 393.4 MB, free: 6.004 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006101/0.6052, allocations: 2.083 MB / 395.5 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.6055, allocations: 22 kB / 395.6 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002677/0.6082, allocations: 0.9094 MB / 396.5 MB, free: 2.973 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 5.119e-06/0.6082, allocations: 0 / 396.5 MB, free: 2.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.02356/0.6318, allocations: 5.352 MB / 401.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/0.6319, allocations: 85.38 kB / 401.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.6338, allocations: 0.8461 MB / 402.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004032/0.6342, allocations: 69.64 kB / 402.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008841/0.6351, allocations: 0.8138 MB / 403.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/0.6362, allocations: 0.6624 MB / 404.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.6364, allocations: 48 kB / 404.3 MB, free: 10.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.6366, allocations: 391.5 kB / 404.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.6387, allocations: 0.641 MB / 405.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/0.6413, allocations: 1.183 MB / 406.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.6437, allocations: 0.7439 MB / 407.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/0.6438, allocations: 12 kB / 407.3 MB, free: 7.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.009346/0.6531, allocations: 2.864 MB / 410.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.6532, allocations: 8 kB / 410.2 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/0.6533, allocations: 24 kB / 410.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00615/0.6594, allocations: 1.178 MB / 411.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.6613, allocations: 279.5 kB / 411.6 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03734/0.6987, allocations: 22.7 MB / 434.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.7014, allocations: 274.2 kB / 434.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/0.7017, allocations: 92 kB / 434.7 MB, free: 10.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001413/0.7031, allocations: 450.5 kB / 435.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004868/0.7036, allocations: 166 kB / 435.3 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005648/0.7042, allocations: 204.2 kB / 435.5 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.7042, allocations: 20.56 kB / 435.5 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.723e-05/0.7043, allocations: 16 kB / 435.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/0.7043, allocations: 7.969 kB / 435.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.7085, allocations: 1.903 MB / 437.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/0.7086, allocations: 4 kB / 437.5 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.71, allocations: 139.8 kB / 437.6 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005993/0.716, allocations: 1.161 MB / 438.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002995/0.7164, allocations: 40 kB / 438.8 MB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2823/0.9987, allocations: 22.72 MB / 461.5 MB, free: 91.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9987, allocations: 0.6094 kB / 461.5 MB, free: 91.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.01, allocations: 3.48 MB / 465 MB, free: 90.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.011, allocations: 432.5 kB / 465.4 MB, free: 90.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003613/1.011, allocations: 39.53 kB / 465.5 MB, free: 90.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.013, allocations: 112.4 kB / 465.6 MB, free: 90.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00084/1.014, allocations: 212.3 kB / 465.8 MB, free: 90.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.014, allocations: 50.88 kB / 465.8 MB, free: 90.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001283/1.015, allocations: 0.6218 MB / 466.4 MB, free: 90.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.016, allocations: 3.312 kB / 466.4 MB, free: 90.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00353/1.019, allocations: 0.7555 MB / 467.2 MB, free: 90.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor1.v,R5.Capacitor1.v,R8.Capacitor1.v,R9.Capacitor1.v,R1.Capacitor1.v,R2.Capacitor1.v,R3.Capacitor1.v,Rp1.Capacitor1.v,R7.Capacitor1.v,R10.Capacitor1.v,R11.Capacitor1.v) * Number of discrete variables: 33 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01079/1.03, allocations: 4.106 MB / 471.3 MB, free: 89.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0082/1.038, allocations: 3.929 MB / 475.2 MB, free: 88.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.038, allocations: 0.5625 kB / 475.2 MB, free: 88.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006214/1.044, allocations: 3.009 MB / 478.2 MB, free: 86.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/1.047, allocations: 343.5 kB / 478.6 MB, free: 86.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/1.075, allocations: 23.07 MB / 0.4899 GB, free: 68.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/1.076, allocations: 1.48 MB / 0.4913 GB, free: 67.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/1.077, allocations: 0.6758 MB / 0.492 GB, free: 67.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.493e-06/1.077, allocations: 4 kB / 0.492 GB, free: 67.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.193/5.27, allocations: 120.5 MB / 0.6096 GB, free: 87.45 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat