Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassSC,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassSC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09388/0.09427, allocations: 44.51 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4022/0.4966, allocations: 76.22 MB / 384.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.4969, allocations: 72.98 kB / 384.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1622/0.6591, allocations: 32.27 MB / 417.1 MB, free: 6.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.399e-06/0.6592, allocations: 4 kB / 417.1 MB, free: 6.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001983/0.6594, allocations: 46.28 kB / 417.1 MB, free: 6.496 MB / 314.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.01312/0.6726, allocations: 2.462 MB / 419.6 MB, free: 5.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.6726, allocations: 7.625 kB / 419.6 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001582/0.6742, allocations: 302.7 kB / 419.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.6759, allocations: 251 kB / 420.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004021/0.6801, allocations: 0.9509 MB / 421.1 MB, free: 4.262 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.6805, allocations: 164.8 kB / 421.3 MB, free: 4.254 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.6817, allocations: 224.6 kB / 421.5 MB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.693, allocations: 2.297 MB / 423.8 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.6932, allocations: 7.469 kB / 423.8 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000537/0.6937, allocations: 96.34 kB / 423.9 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-05/0.6938, allocations: 52.5 kB / 423.9 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008944/0.7028, allocations: 1.706 MB / 425.6 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04909/0.7519, allocations: 8.69 MB / 434.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02422/0.7762, allocations: 2.088 MB / 436.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.7766, allocations: 20.94 kB / 436.4 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007014/0.7836, allocations: 0.9118 MB / 437.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=207): time 9.898e-06/0.7837, allocations: 0 / 437.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.03569/0.8194, allocations: 5.351 MB / 442.7 MB, free: 8.156 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.8196, allocations: 81.33 kB / 442.8 MB, free: 8.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.8217, allocations: 0.8461 MB / 443.6 MB, free: 7.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000478/0.8222, allocations: 65.7 kB / 443.7 MB, free: 7.133 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009508/0.8232, allocations: 0.8127 MB / 444.5 MB, free: 6.316 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001199/0.8244, allocations: 0.6675 MB / 445.2 MB, free: 5.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.8246, allocations: 44 kB / 445.2 MB, free: 5.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002545/0.8249, allocations: 395.5 kB / 445.6 MB, free: 5.223 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.8271, allocations: 0.641 MB / 446.2 MB, free: 4.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/0.8298, allocations: 1.187 MB / 447.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.8322, allocations: 0.74 MB / 448.2 MB, free: 2.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.8322, allocations: 8 kB / 448.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.009802/0.842, allocations: 2.866 MB / 451 MB, free: 15.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.8421, allocations: 12 kB / 451.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/0.8422, allocations: 16 kB / 451.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006301/0.8485, allocations: 1.179 MB / 452.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.8504, allocations: 283.5 kB / 452.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03939/0.8898, allocations: 22.72 MB / 475.2 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/0.8925, allocations: 285.7 kB / 475.5 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.8928, allocations: 84 kB / 475.6 MB, free: 5.309 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.001381/0.8942, allocations: 446.9 kB / 476 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/0.8946, allocations: 158.1 kB / 476.2 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.8952, allocations: 200.2 kB / 476.4 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.8952, allocations: 20 kB / 476.4 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.697e-05/0.8953, allocations: 27.89 kB / 476.4 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/0.8954, allocations: 11.95 kB / 476.4 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.8995, allocations: 1.903 MB / 478.3 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.8996, allocations: 4 kB / 478.3 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.901, allocations: 127.9 kB / 478.5 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009095/0.9101, allocations: 1.158 MB / 479.6 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005349/0.9107, allocations: 35.98 kB / 479.7 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04138/0.9521, allocations: 22.74 MB / 0.4906 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9521, allocations: 4.031 kB / 0.4906 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/0.9641, allocations: 3.479 MB / 0.494 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.9656, allocations: 430.6 kB / 0.4944 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004047/0.966, allocations: 39.98 kB / 0.4945 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.9677, allocations: 115.9 kB / 0.4946 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008407/0.9686, allocations: 209.7 kB / 0.4948 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.9688, allocations: 51.98 kB / 0.4948 GB, free: 4.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001395/0.9702, allocations: 0.6217 MB / 0.4955 GB, free: 3.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.9702, allocations: 7.938 kB / 0.4955 GB, free: 3.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003531/0.9737, allocations: 0.7524 MB / 0.4962 GB, free: 3.07 MB / 394.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.01226/0.986, allocations: 4.104 MB / 0.5002 GB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01002/0.9961, allocations: 3.917 MB / 0.504 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.9962, allocations: 0.5625 kB / 0.504 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007297/1.003, allocations: 3.025 MB / 0.507 GB, free: 7.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.006, allocations: 336.5 kB / 0.5073 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.316/1.322, allocations: 23.05 MB / 0.5298 GB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.324, allocations: 1.482 MB / 0.5313 GB, free: 101.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/1.325, allocations: 0.6736 MB / 0.5319 GB, free: 101.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/1.325, allocations: 1.281 kB / 0.5319 GB, free: 101.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.053/5.378, allocations: 120.5 MB / 0.6496 GB, free: 12.46 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat does not exist to compare? outputFormat=mat