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.CauerLowPassAnalog.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.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.77/1.77, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007918/0.000792, allocations: 8 kB / 233.2 MB, free: 2.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1083, allocations: 38.78 MB / 272 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00576/0.1141, allocations: 2.259 MB / 274.3 MB, free: 9.84 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.1165, allocations: 0.6434 MB / 274.9 MB, free: 9.195 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003395/0.1169, allocations: 4 kB / 274.9 MB, free: 9.191 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.1171, allocations: 31.75 kB / 275 MB, free: 9.16 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.1176, allocations: 107.7 kB / 275.1 MB, free: 9.055 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.118, allocations: 59.88 kB / 275.1 MB, free: 8.996 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.1186, allocations: 256.4 kB / 275.4 MB, free: 8.746 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004632/0.1191, allocations: 142 kB / 275.5 MB, free: 8.605 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.1194, allocations: 103.6 kB / 275.6 MB, free: 8.504 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003423/0.1197, allocations: 123.5 kB / 275.7 MB, free: 8.383 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.1198, allocations: 16 kB / 275.7 MB, free: 8.367 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1199, allocations: 16 kB / 275.8 MB, free: 8.352 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.1201, allocations: 51.81 kB / 275.8 MB, free: 8.301 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.1202, allocations: 85.52 kB / 275.9 MB, free: 8.211 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.1207, allocations: 259.5 kB / 276.1 MB, free: 7.957 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1208, allocations: 0 / 276.1 MB, free: 7.957 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1208, allocations: 4 kB / 276.2 MB, free: 7.953 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1208, allocations: 0 / 276.2 MB, free: 7.953 MB / 234.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.001602/0.1224, allocations: 0.5418 MB / 276.7 MB, free: 7.363 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.1225, allocations: 8.031 kB / 276.7 MB, free: 7.355 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.1227, allocations: 62.53 kB / 276.8 MB, free: 7.285 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.1228, allocations: 31.62 kB / 276.8 MB, free: 7.254 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.1234, allocations: 258.5 kB / 277 MB, free: 6.961 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.1235, allocations: 16.56 kB / 277.1 MB, free: 6.941 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.1236, allocations: 32 kB / 277.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/0.1245, allocations: 252.9 kB / 277.3 MB, free: 6.656 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1246, allocations: 0 / 277.3 MB, free: 6.656 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.1246, allocations: 12 kB / 277.4 MB, free: 6.645 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.1247, allocations: 11.98 kB / 277.4 MB, free: 6.633 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007841/0.1255, allocations: 186.1 kB / 277.5 MB, free: 6.453 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.1285, allocations: 1.014 MB / 278.6 MB, free: 5.363 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.1294, allocations: 333.4 kB / 278.9 MB, free: 4.992 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1294, allocations: 4.188 kB / 278.9 MB, free: 4.988 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.1295, allocations: 34.75 kB / 278.9 MB, free: 4.945 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 3.607e-06/0.1295, allocations: 0 / 278.9 MB, free: 4.945 MB / 234.7 MB Notification: Performance of matching and sorting (n=25): time 0.00283/0.1323, allocations: 0.7925 MB / 279.7 MB, free: 4.098 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1324, allocations: 51.41 kB / 279.8 MB, free: 4.035 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.1328, allocations: 186.5 kB / 279.9 MB, free: 3.844 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.1328, allocations: 29.7 kB / 280 MB, free: 3.809 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1331, allocations: 234.7 kB / 280.2 MB, free: 3.578 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1332, allocations: 98.64 kB / 280.3 MB, free: 3.48 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.1333, allocations: 4 kB / 280.3 MB, free: 3.477 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1335, allocations: 322.8 kB / 280.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.1338, allocations: 68.53 kB / 280.7 MB, free: 3.082 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.1341, allocations: 110.7 kB / 280.8 MB, free: 2.969 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.1345, allocations: 87.97 kB / 280.9 MB, free: 2.883 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1345, allocations: 0 / 280.9 MB, free: 2.883 MB / 234.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001162/0.1357, allocations: 310.2 kB / 281.2 MB, free: 2.57 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.1357, allocations: 9.078 kB / 281.2 MB, free: 2.562 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.1358, allocations: 7.953 kB / 281.2 MB, free: 2.555 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005143/0.1363, allocations: 80.81 kB / 281.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.1367, allocations: 43.92 kB / 281.3 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003834/0.1406, allocations: 1.928 MB / 283.3 MB, free: 376 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.1409, allocations: 8.031 kB / 283.3 MB, free: 368 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.141, allocations: 12.11 kB / 283.3 MB, free: 356 kB / 234.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002832/0.1413, allocations: 141.7 kB / 283.4 MB, free: 204 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.1414, allocations: 23.8 kB / 283.4 MB, free: 180 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.1e-05/0.1415, allocations: 33.92 kB / 283.5 MB, free: 148 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.1416, allocations: 4 kB / 283.5 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.1416, allocations: 0 / 283.5 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1416, allocations: 0 / 283.5 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.1443, allocations: 0.749 MB / 284.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.1443, allocations: 4 kB / 284.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.1449, allocations: 35.98 kB / 284.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/0.1455, allocations: 76.64 kB / 284.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.1455, allocations: 11.98 kB / 284.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.1491, allocations: 1.812 MB / 286.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/0.1491, allocations: 4.031 kB / 286.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.1506, allocations: 472 kB / 286.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1507, allocations: 92.83 kB / 286.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/0.1508, allocations: 8.062 kB / 286.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.1512, allocations: 19.94 kB / 286.7 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.1513, allocations: 15.97 kB / 286.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.1513, allocations: 8 kB / 286.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002359/0.1516, allocations: 152.3 kB / 286.9 MB, free: 12.47 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1516, allocations: 0 / 286.9 MB, free: 12.47 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008876/0.1525, allocations: 76 kB / 287 MB, free: 12.39 MB / 250.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/0.1544, allocations: 0.9978 MB / 288 MB, free: 11.36 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.1557, allocations: 370.7 kB / 288.3 MB, free: 10.99 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.1557, allocations: 0 / 288.3 MB, free: 10.99 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008806/0.1566, allocations: 270.8 kB / 288.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.1572, allocations: 36 kB / 288.6 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.1624, allocations: 1.807 MB / 290.5 MB, free: 8.805 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.163, allocations: 0.7713 MB / 291.2 MB, free: 8.004 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.1632, allocations: 87.97 kB / 291.3 MB, free: 7.918 MB / 250.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1633, allocations: 3.938 kB / 291.3 MB, free: 7.914 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.904/3.067, allocations: 5.075 MB / 296.4 MB, free: 2.832 MB / 250.7 MB "" Variables in the reference:time,C1.v,C3.v,C5.v,L1.i,L2.i Variables in the result:C1.C,C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C2.C,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,C3.C,C3.i,C3.n.i,C3.n.v,C3.p.i,C3.p.v,C3.v,C4.C,C4.i,C4.n.i,C4.n.v,C4.p.i,C4.p.v,C4.v,C5.C,C5.i,C5.n.i,C5.n.v,C5.p.i,C5.p.v,C5.v,G.p.i,G.p.v,L1.L,L1.i,L1.n.i,L1.n.v,L1.p.i,L1.p.v,L1.v,L2.L,L2.i,L2.n.i,L2.n.v,L2.p.i,L2.p.v,L2.v,R1.LossPower,R1.R,R1.R_actual,R1.T,R1.T_heatPort,R1.T_ref,R1.alpha,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.useHeatPort,R1.v,R2.LossPower,R2.R,R2.R_actual,R2.T,R2.T_heatPort,R2.T_ref,R2.alpha,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.useHeatPort,R2.v,V.V,V.i,V.n.i,V.n.v,V.offset,V.p.i,V.p.v,V.signalSource.height,V.signalSource.offset,V.signalSource.startTime,V.signalSource.y,V.startTime,V.v,c1,c2,c3,c4,c5,der(C1.v),der(C2.v),der(C3.v),der(C4.v),der(C5.v),der(L1.i),der(L1.v),der(L2.i),der(L2.v),l1,l2,time