Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001271, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 64.73 kB / 307 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1089, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007175/0.1161, allocations: 5.786 MB / 363.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.1187, allocations: 1.196 MB / 364.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007406/0.1195, allocations: 23.94 kB / 364.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.1201, allocations: 170.4 kB / 364.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009127/0.121, allocations: 273.5 kB / 365 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.1217, allocations: 219.7 kB / 365.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.123, allocations: 1.06 MB / 366.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007762/0.1238, allocations: 0.518 MB / 366.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000522/0.1243, allocations: 414.6 kB / 367.2 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.1248, allocations: 477.9 kB / 367.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.125, allocations: 100 kB / 367.8 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1251, allocations: 100 kB / 367.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.1253, allocations: 215.3 kB / 368.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.1258, allocations: 0.5016 MB / 368.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.1267, allocations: 1.09 MB / 369.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1267, allocations: 4 kB / 369.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1267, allocations: 0 / 369.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1267, allocations: 0 / 369.7 MB, free: 1.848 MB / 302.1 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.001933/0.1287, allocations: 1.232 MB / 370.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1287, allocations: 11.97 kB / 370.9 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.1289, allocations: 156.1 kB / 371.1 MB, free: 404 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.129, allocations: 103.7 kB / 371.2 MB, free: 300 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1685/0.2976, allocations: 449.6 kB / 371.6 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.2977, allocations: 70.41 kB / 371.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.2981, allocations: 95.19 kB / 371.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.2999, allocations: 0.8669 MB / 372.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.2999, allocations: 0 / 372.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.3, allocations: 48.2 kB / 372.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.3001, allocations: 22.72 kB / 372.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.3014, allocations: 0.5784 MB / 373.3 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/0.3059, allocations: 2.956 MB / 376.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.3063, allocations: 298.9 kB / 376.5 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/0.3067, allocations: 271.7 kB / 376.8 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3067, allocations: 3.438 kB / 376.8 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3068, allocations: 38.56 kB / 376.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.425e-06/0.3068, allocations: 1.688 kB / 376.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001419/0.3082, allocations: 0.6496 MB / 377.5 MB, free: 17.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.3082, allocations: 56.77 kB / 377.6 MB, free: 17.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.3088, allocations: 0.5189 MB / 378.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3088, allocations: 32.86 kB / 378.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.309, allocations: 487.8 kB / 378.6 MB, free: 16.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.747e-05/0.3091, allocations: 161.1 kB / 378.7 MB, free: 16.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.3093, allocations: 136.5 kB / 378.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.3094, allocations: 370.3 kB / 379.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.3097, allocations: 165.8 kB / 379.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.3101, allocations: 452.9 kB / 379.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.3108, allocations: 0.6541 MB / 380.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-06/0.3108, allocations: 3.25 kB / 380.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001085/0.3119, allocations: 0.7578 MB / 381.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3119, allocations: 11.56 kB / 381.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3119, allocations: 10.52 kB / 381.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.3122, allocations: 86.12 kB / 381.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.3129, allocations: 197.5 kB / 381.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.3144, allocations: 1.996 MB / 383.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.3149, allocations: 90.39 kB / 383.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.315, allocations: 40.28 kB / 383.7 MB, free: 12.73 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002565/0.3152, allocations: 218.9 kB / 383.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.3153, allocations: 60.66 kB / 383.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/0.3154, allocations: 65.7 kB / 384 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3154, allocations: 4.312 kB / 384 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3154, allocations: 2.188 kB / 384 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.3154, allocations: 2.344 kB / 384 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007816/0.3162, allocations: 0.637 MB / 384.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3162, allocations: 9.078 kB / 384.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.3167, allocations: 101 kB / 384.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/0.3169, allocations: 76.2 kB / 384.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.3169, allocations: 11.06 kB / 384.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.3184, allocations: 1.979 MB / 386.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3184, allocations: 1.172 kB / 386.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.3193, allocations: 0.6564 MB / 387.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3194, allocations: 143.6 kB / 387.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.3195, allocations: 10.81 kB / 387.6 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.3199, allocations: 44.83 kB / 387.7 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.32, allocations: 27.84 kB / 387.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.32, allocations: 13.36 kB / 387.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003618/0.3204, allocations: 348.9 kB / 388.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3204, allocations: 0 / 388.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008275/0.3212, allocations: 244.8 kB / 388.3 MB, free: 9.547 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.3224, allocations: 1.215 MB / 389.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.3234, allocations: 0.6056 MB / 390.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3234, allocations: 2.5 kB / 390.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.3238, allocations: 319.8 kB / 390.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.3245, allocations: 119.6 kB / 390.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.331, allocations: 5.647 MB / 396.2 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.3314, allocations: 0.9276 MB / 397.1 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003533/0.3318, allocations: 71.44 kB / 397.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.332, allocations: 264.8 kB / 397.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.332, allocations: 0 / 397.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.3658, allocations: 12.58 MB / 410 MB, free: 9.281 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.855/10.22, allocations: 4.062 kB / 410 MB, free: 9.277 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches