Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008495/0.0008495, allocations: 90.02 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 174 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 8 kB / 301.5 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 50.41 MB / 351.9 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00555/0.1108, allocations: 5.297 MB / 357.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1134, allocations: 1.157 MB / 358.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000907/0.1143, allocations: 16 kB / 358.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.1149, allocations: 131 kB / 358.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.116, allocations: 234.1 kB / 358.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.1166, allocations: 187.8 kB / 359 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.1181, allocations: 1.017 MB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007862/0.1189, allocations: 448.6 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005432/0.1195, allocations: 346.6 kB / 360.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006634/0.1201, allocations: 402 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.1203, allocations: 56 kB / 361.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.1206, allocations: 48 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.1208, allocations: 163.2 kB / 361.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.1213, allocations: 471.4 kB / 361.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009259/0.1223, allocations: 1.035 MB / 362.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1223, allocations: 0 / 362.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.1223, allocations: 0 / 362.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.571e-05/0.1223, allocations: 3.938 kB / 362.9 MB, free: 8.566 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.00196/0.1243, allocations: 1.076 MB / 364 MB, free: 7.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1244, allocations: 12.02 kB / 364 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002295/0.1246, allocations: 144.1 kB / 364.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.1248, allocations: 107.7 kB / 364.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006135/0.1254, allocations: 455.1 kB / 364.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.1255, allocations: 66.38 kB / 364.7 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.1256, allocations: 100.3 kB / 364.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.127, allocations: 0.8676 MB / 365.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.127, allocations: 7.938 kB / 365.7 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.1271, allocations: 40 kB / 365.8 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1271, allocations: 27.94 kB / 365.8 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009574/0.1281, allocations: 0.5739 MB / 366.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.1323, allocations: 2.968 MB / 369.3 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.1327, allocations: 302.4 kB / 369.6 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.1331, allocations: 268.8 kB / 369.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1331, allocations: 4 kB / 369.9 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.1332, allocations: 38.56 kB / 369.9 MB, free: 1.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.593e-06/0.1332, allocations: 4 kB / 369.9 MB, free: 1.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001458/0.1346, allocations: 0.6704 MB / 370.6 MB, free: 0.582 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.1347, allocations: 59.34 kB / 370.7 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2072/0.3419, allocations: 0.5077 MB / 371.2 MB, free: 23.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.3421, allocations: 34.02 kB / 371.2 MB, free: 23.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/0.3426, allocations: 483.8 kB / 371.7 MB, free: 23.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.3427, allocations: 154.6 kB / 371.8 MB, free: 23.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.3429, allocations: 65.14 kB / 371.9 MB, free: 23.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.343, allocations: 366.8 kB / 372.2 MB, free: 23.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.3434, allocations: 174.1 kB / 372.4 MB, free: 23.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.3439, allocations: 455.9 kB / 372.9 MB, free: 22.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007795/0.3447, allocations: 0.6557 MB / 373.5 MB, free: 22.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.3447, allocations: 2.312 kB / 373.5 MB, free: 22.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001461/0.3462, allocations: 0.7605 MB / 374.3 MB, free: 22.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3462, allocations: 9.938 kB / 374.3 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.3463, allocations: 10.06 kB / 374.3 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.3466, allocations: 87.91 kB / 374.4 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/0.3473, allocations: 203.7 kB / 374.6 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.3492, allocations: 1.809 MB / 376.4 MB, free: 20.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006165/0.3498, allocations: 92.09 kB / 376.5 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.3499, allocations: 34.66 kB / 376.5 MB, free: 20.9 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.0003864/0.3503, allocations: 213.9 kB / 376.7 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.3505, allocations: 57.59 kB / 376.8 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3506, allocations: 73.11 kB / 376.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3506, allocations: 5.25 kB / 376.9 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.3506, allocations: 1.375 kB / 376.9 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3507, allocations: 1.688 kB / 376.9 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.3515, allocations: 0.6471 MB / 377.5 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3516, allocations: 4.375 kB / 377.5 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.352, allocations: 104 kB / 377.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/0.3522, allocations: 72.48 kB / 377.7 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3523, allocations: 7.234 kB / 377.7 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.3537, allocations: 1.791 MB / 379.5 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3537, allocations: 2.594 kB / 379.5 MB, free: 18.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/0.3546, allocations: 0.6711 MB / 380.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3548, allocations: 139.4 kB / 380.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.3548, allocations: 7.125 kB / 380.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.3552, allocations: 55.16 kB / 380.3 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.3553, allocations: 32.67 kB / 380.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.3554, allocations: 13.97 kB / 380.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000444/0.3558, allocations: 344.1 kB / 380.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.313e-06/0.3558, allocations: 0 / 380.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008921/0.3567, allocations: 248.5 kB / 381 MB, free: 18.1 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.001274/0.358, allocations: 1.229 MB / 382.2 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.3591, allocations: 0.5946 MB / 382.8 MB, free: 16.92 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3591, allocations: 1.75 kB / 382.8 MB, free: 16.92 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.3596, allocations: 321.6 kB / 383.1 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.3603, allocations: 107.7 kB / 383.2 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00792/0.3682, allocations: 6.075 MB / 389.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.3689, allocations: 0.931 MB / 390.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003833/0.3693, allocations: 69.81 kB / 390.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.3696, allocations: 265.7 kB / 390.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of SimCode: time 1.603e-06/0.3696, allocations: 0 / 390.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3941, allocations: 11.95 MB / 402.5 MB, free: 5.105 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.3943, allocations: 226.2 kB / 402.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.598, allocations: 4 kB / 402.7 MB, free: 4.844 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches