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.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.728/1.728, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003725, allocations: 12 kB / 233.2 MB, free: 2.973 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.08663, allocations: 38.77 MB / 272 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007816/0.09451, allocations: 4.769 MB / 276.8 MB, free: 7.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.09814, allocations: 1.22 MB / 278 MB, free: 6.098 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008356/0.09904, allocations: 23.94 kB / 278 MB, free: 6.074 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.09942, allocations: 123.1 kB / 278.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.1006, allocations: 331.1 kB / 278.5 MB, free: 5.629 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.1013, allocations: 163.8 kB / 278.6 MB, free: 5.469 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.1031, allocations: 0.7386 MB / 279.4 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000905/0.104, allocations: 396.2 kB / 279.8 MB, free: 4.324 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.1047, allocations: 334.8 kB / 280.1 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.1055, allocations: 386.3 kB / 280.5 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.1057, allocations: 51.94 kB / 280.5 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.1059, allocations: 52 kB / 280.6 MB, free: 3.516 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.1061, allocations: 155.4 kB / 280.7 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.1064, allocations: 197.2 kB / 280.9 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.1076, allocations: 0.7986 MB / 281.7 MB, free: 2.363 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1076, allocations: 4 kB / 281.7 MB, free: 2.359 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1077, allocations: 4 kB / 281.7 MB, free: 2.355 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.1077, allocations: 0 / 281.7 MB, free: 2.355 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002911/0.1106, allocations: 1.084 MB / 282.8 MB, free: 1.219 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1107, allocations: 8.031 kB / 282.8 MB, free: 1.211 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002726/0.1109, allocations: 144 kB / 282.9 MB, free: 1.062 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.1112, allocations: 110.8 kB / 283.1 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008797/0.1121, allocations: 450 kB / 283.5 MB, free: 488 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.621e-05/0.1122, allocations: 70 kB / 283.6 MB, free: 420 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.1124, allocations: 95.94 kB / 283.7 MB, free: 324 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.1148, allocations: 0.8596 MB / 284.5 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.1149, allocations: 3.984 kB / 284.5 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.115, allocations: 47.94 kB / 284.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.115, allocations: 24 kB / 284.6 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.1169, allocations: 0.5661 MB / 285.2 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008305/0.1253, allocations: 2.98 MB / 288.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.1261, allocations: 290.4 kB / 288.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.1261, allocations: 4.688 kB / 288.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.1262, allocations: 46.56 kB / 288.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 3.056e-06/0.1262, allocations: 0 / 288.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.002564/0.1288, allocations: 0.6541 MB / 289.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.1289, allocations: 63.19 kB / 289.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009651/0.1298, allocations: 0.5025 MB / 289.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.13, allocations: 37.69 kB / 289.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.1304, allocations: 0.5195 MB / 290.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.1306, allocations: 157.8 kB / 290.4 MB, free: 9.344 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.1307, allocations: 16 kB / 290.4 MB, free: 9.328 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1309, allocations: 342.8 kB / 290.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.1314, allocations: 173.9 kB / 290.9 MB, free: 8.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.1322, allocations: 445.6 kB / 291.4 MB, free: 8.254 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006773/0.1329, allocations: 246 kB / 291.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.1329, allocations: 0 / 291.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002074/0.135, allocations: 0.7339 MB / 292.3 MB, free: 7.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.1351, allocations: 9.094 kB / 292.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.1351, allocations: 12 kB / 292.3 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.1356, allocations: 84.97 kB / 292.4 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.1369, allocations: 203.7 kB / 292.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/0.1399, allocations: 1.819 MB / 294.4 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/0.1408, allocations: 99.03 kB / 294.5 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.1409, allocations: 32 kB / 294.6 MB, free: 4.883 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0004973/0.1414, allocations: 213.5 kB / 294.8 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.1416, allocations: 59.33 kB / 294.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.1417, allocations: 61.52 kB / 294.9 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.1418, allocations: 8 kB / 294.9 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.1418, allocations: 0 / 294.9 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.1418, allocations: 11.94 kB / 294.9 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.143, allocations: 0.6376 MB / 295.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1431, allocations: 0 / 295.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008373/0.1439, allocations: 99.88 kB / 295.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003975/0.1443, allocations: 72.8 kB / 295.7 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.1444, allocations: 16 kB / 295.7 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.1471, allocations: 1.816 MB / 297.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1472, allocations: 0 / 297.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.1489, allocations: 0.6658 MB / 298.2 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.1491, allocations: 136.3 kB / 298.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.1493, allocations: 12 kB / 298.4 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.15, allocations: 47.97 kB / 298.4 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.1501, allocations: 35.91 kB / 298.5 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.1502, allocations: 12 kB / 298.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006087/0.1508, allocations: 342.9 kB / 298.8 MB, free: 432 kB / 250.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1508, allocations: 4 kB / 298.8 MB, free: 428 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.001097/0.1519, allocations: 247.2 kB / 299 MB, free: 180 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.2761/0.4281, allocations: 1.203 MB / 300.2 MB, free: 28.95 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002156/0.4303, allocations: 0.5971 MB / 300.8 MB, free: 28.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.4303, allocations: 0 / 300.8 MB, free: 28.84 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.4313, allocations: 323.7 kB / 301.2 MB, free: 28.71 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4325, allocations: 108.6 kB / 301.3 MB, free: 28.7 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.4438, allocations: 3.938 MB / 305.2 MB, free: 26.7 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.4446, allocations: 0.9459 MB / 306.2 MB, free: 25.99 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007319/0.4454, allocations: 271.9 kB / 306.4 MB, free: 25.79 MB / 250.7 MB Notification: Performance of SimCode: time 1.883e-06/0.4454, allocations: 0 / 306.4 MB, free: 25.79 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.96/3.405, allocations: 14.01 MB / 320.4 MB, free: 18.79 MB / 250.7 MB "Error: Could not read variable C8.der(v) in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat. Warning: Get data of variable C8.der(v) from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat failed! " Variables in the reference:time,C1.v,C2.v,C3.v,C4.v,C7.v 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,C6.C,C6.i,C6.n.i,C6.n.v,C6.p.i,C6.p.v,C6.v,C7.C,C7.i,C7.n.i,C7.n.v,C7.p.i,C7.p.v,C7.v,C8.C,C8.i,C8.n.i,C8.n.v,C8.p.i,C8.p.v,C8.v,C9.C,C9.i,C9.n.i,C9.n.v,C9.p.i,C9.p.v,C9.v,G.p.i,G.p.v,G1.p.i,G1.p.v,G2.p.i,G2.p.v,G3.p.i,G3.p.v,G4.p.i,G4.p.v,Ground1.p.i,Ground1.p.v,Op1.in_n.i,Op1.in_n.v,Op1.in_p.i,Op1.in_p.v,Op1.out.i,Op1.out.v,Op2.in_n.i,Op2.in_n.v,Op2.in_p.i,Op2.in_p.v,Op2.out.i,Op2.out.v,Op3.in_n.i,Op3.in_n.v,Op3.in_p.i,Op3.in_p.v,Op3.out.i,Op3.out.v,Op4.in_n.i,Op4.in_n.v,Op4.in_p.i,Op4.in_p.v,Op4.out.i,Op4.out.v,Op5.in_n.i,Op5.in_n.v,Op5.in_p.i,Op5.in_p.v,Op5.out.i,Op5.out.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,R10.LossPower,R10.R,R10.R_actual,R10.T,R10.T_heatPort,R10.T_ref,R10.alpha,R10.i,R10.n.i,R10.n.v,R10.p.i,R10.p.v,R10.useHeatPort,R10.v,R11.LossPower,R11.R,R11.R_actual,R11.T,R11.T_heatPort,R11.T_ref,R11.alpha,R11.i,R11.n.i,R11.n.v,R11.p.i,R11.p.v,R11.useHeatPort,R11.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,R3.LossPower,R3.R,R3.R_actual,R3.T,R3.T_heatPort,R3.T_ref,R3.alpha,R3.i,R3.n.i,R3.n.v,R3.p.i,R3.p.v,R3.useHeatPort,R3.v,R4.LossPower,R4.R,R4.R_actual,R4.T,R4.T_heatPort,R4.T_ref,R4.alpha,R4.i,R4.n.i,R4.n.v,R4.p.i,R4.p.v,R4.useHeatPort,R4.v,R5.LossPower,R5.R,R5.R_actual,R5.T,R5.T_heatPort,R5.T_ref,R5.alpha,R5.i,R5.n.i,R5.n.v,R5.p.i,R5.p.v,R5.useHeatPort,R5.v,R6.LossPower,R6.R,R6.R_actual,R6.T,R6.T_heatPort,R6.T_ref,R6.alpha,R6.i,R6.n.i,R6.n.v,R6.p.i,R6.p.v,R6.useHeatPort,R6.v,R7.LossPower,R7.R,R7.R_actual,R7.T,R7.T_heatPort,R7.T_ref,R7.alpha,R7.i,R7.n.i,R7.n.v,R7.p.i,R7.p.v,R7.useHeatPort,R7.v,R8.LossPower,R8.R,R8.R_actual,R8.T,R8.T_heatPort,R8.T_ref,R8.alpha,R8.i,R8.n.i,R8.n.v,R8.p.i,R8.p.v,R8.useHeatPort,R8.v,R9.LossPower,R9.R,R9.R_actual,R9.T,R9.T_heatPort,R9.T_ref,R9.alpha,R9.i,R9.n.i,R9.n.v,R9.p.i,R9.p.v,R9.useHeatPort,R9.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(C7.v),l1,l2,n1.i,n1.v,n10.i,n10.v,n11.i,n11.v,n12.i,n12.v,n13.i,n13.v,n14.i,n14.v,n2.i,n2.v,n3.i,n3.v,n4.i,n4.v,n5.i,n5.v,n6.i,n6.v,n7.i,n7.v,n8.i,n8.v,n9.i,n9.v,out1.i,out1.v,p1.i,p1.v,p2.i,p2.v,p3.i,p3.v,p4.i,p4.v,time