Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 171.1 MB / 186.1 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08105/0.08144, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/0.4334, allocations: 71.12 MB / 343.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.4337, allocations: 75.33 kB / 343.3 MB, free: 2.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1586/0.5924, allocations: 32.91 MB / 376.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.5924, allocations: 0 / 376.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000161/0.5926, allocations: 47.98 kB / 376.3 MB, free: 6.375 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.01016/0.6028, allocations: 2.462 MB / 378.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.6029, allocations: 12.03 kB / 378.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001155/0.604, allocations: 303.9 kB / 379 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007772/0.6048, allocations: 245.1 kB / 379.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.6074, allocations: 0.9545 MB / 380.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.6077, allocations: 168.8 kB / 380.4 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006872/0.6084, allocations: 223.7 kB / 380.6 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008046/0.6164, allocations: 2.301 MB / 382.9 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.634e-05/0.6165, allocations: 0 / 382.9 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/0.6169, allocations: 96 kB / 383 MB, free: 200 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.42e-05/0.617, allocations: 55.94 kB / 383.1 MB, free: 144 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006685/0.6237, allocations: 1.707 MB / 384.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02331/0.6471, allocations: 8.691 MB / 393.5 MB, free: 5.512 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006126/0.6532, allocations: 2.091 MB / 395.6 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.6535, allocations: 22 kB / 395.6 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002881/0.6564, allocations: 0.8977 MB / 396.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 6.222e-06/0.6565, allocations: 0 / 396.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.03189/0.6884, allocations: 5.356 MB / 401.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.6885, allocations: 77.39 kB / 401.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.6912, allocations: 0.8461 MB / 402.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005219/0.6918, allocations: 65.7 kB / 402.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.693, allocations: 0.8074 MB / 403.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001421/0.6945, allocations: 0.6702 MB / 404.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.6948, allocations: 44 kB / 404.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003361/0.6951, allocations: 394.6 kB / 404.7 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/0.6983, allocations: 0.6371 MB / 405.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/0.7025, allocations: 1.19 MB / 406.6 MB, free: 7.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00353/0.7061, allocations: 0.7361 MB / 407.3 MB, free: 7.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.596e-05/0.7061, allocations: 4 kB / 407.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.0146/0.7208, allocations: 2.93 MB / 410.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/0.7209, allocations: 13.31 kB / 410.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-05/0.7209, allocations: 20 kB / 410.3 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008593/0.7296, allocations: 1.174 MB / 411.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.7322, allocations: 283.5 kB / 411.7 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3122/1.044, allocations: 22.7 MB / 434.4 MB, free: 85.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.047, allocations: 274.8 kB / 434.7 MB, free: 85.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004475/1.048, allocations: 88.53 kB / 434.8 MB, free: 85.05 MB / 346.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.001622/1.049, allocations: 454.9 kB / 435.2 MB, free: 84.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006005/1.05, allocations: 161.4 kB / 435.4 MB, free: 84.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/1.051, allocations: 201 kB / 435.6 MB, free: 84.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/1.051, allocations: 19.94 kB / 435.6 MB, free: 84.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.175e-05/1.051, allocations: 17.88 kB / 435.6 MB, free: 84.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/1.051, allocations: 14.19 kB / 435.6 MB, free: 84.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004985/1.056, allocations: 1.897 MB / 437.5 MB, free: 84.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/1.056, allocations: 0 / 437.5 MB, free: 84.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.057, allocations: 140.8 kB / 437.7 MB, free: 84.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006066/1.064, allocations: 1.161 MB / 438.8 MB, free: 84.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004423/1.064, allocations: 40.78 kB / 438.9 MB, free: 84.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03368/1.098, allocations: 22.74 MB / 461.6 MB, free: 69.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.098, allocations: 0 / 461.6 MB, free: 69.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.11, allocations: 3.479 MB / 465.1 MB, free: 68.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.112, allocations: 431.5 kB / 465.5 MB, free: 67.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006842/1.113, allocations: 34.44 kB / 465.5 MB, free: 67.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.115, allocations: 116.8 kB / 465.6 MB, free: 67.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/1.116, allocations: 214.3 kB / 465.9 MB, free: 67.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.116, allocations: 54.53 kB / 465.9 MB, free: 67.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001306/1.118, allocations: 0.6169 MB / 466.5 MB, free: 67.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.118, allocations: 0 / 466.5 MB, free: 67.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004016/1.122, allocations: 0.7569 MB / 467.3 MB, free: 67.27 MB / 346.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.01173/1.133, allocations: 4.103 MB / 471.4 MB, free: 65.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009461/1.143, allocations: 3.925 MB / 475.3 MB, free: 62.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/1.143, allocations: 0 / 475.3 MB, free: 62.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006764/1.15, allocations: 3.016 MB / 478.3 MB, free: 60.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.154, allocations: 346.8 kB / 478.7 MB, free: 60.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04032/1.194, allocations: 23.02 MB / 0.4899 GB, free: 42.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.196, allocations: 1.485 MB / 0.4914 GB, free: 41.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001053/1.197, allocations: 137.3 kB / 0.4915 GB, free: 41.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.198, allocations: 0.6662 MB / 0.4922 GB, free: 41.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/1.198, allocations: 0 / 0.4922 GB, free: 41.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/1.315, allocations: 44.78 MB / 0.5359 GB, free: 3.543 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/1.315, allocations: 201.4 kB / 0.5361 GB, free: 3.301 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.856/6.171, allocations: 3.938 kB / 0.5361 GB, free: 3.297 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat