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.001627/0.001627, allocations: 116.1 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001831/0.001831, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.12 kB / 306.6 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 50.54 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007831/0.1131, allocations: 5.77 MB / 362.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.1164, allocations: 1.2 MB / 364.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009682/0.1174, allocations: 20 kB / 364.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006487/0.1181, allocations: 127 kB / 364.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.1193, allocations: 238 kB / 364.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.12, allocations: 183.8 kB / 364.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001796/0.1218, allocations: 1.06 MB / 365.7 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000998/0.1228, allocations: 0.518 MB / 366.2 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007369/0.1236, allocations: 418.6 kB / 366.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008697/0.1245, allocations: 469.9 kB / 367.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.1247, allocations: 96 kB / 367.2 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.125, allocations: 96 kB / 367.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.1252, allocations: 223.3 kB / 367.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.1257, allocations: 0.5054 MB / 368 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.1269, allocations: 1.094 MB / 369.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.127, allocations: 0 / 369.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.127, allocations: 0 / 369.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.127, allocations: 4 kB / 369.1 MB, free: 2.262 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.002123/0.1291, allocations: 1.234 MB / 370.3 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.1292, allocations: 8.031 kB / 370.3 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/0.1294, allocations: 148.1 kB / 370.5 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.1296, allocations: 107.7 kB / 370.6 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000632/0.1303, allocations: 455.1 kB / 371 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.1303, allocations: 70.38 kB / 371.1 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.1305, allocations: 92.38 kB / 371.2 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.236/0.3664, allocations: 0.8699 MB / 372 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.3665, allocations: 1.188 kB / 372 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-05/0.3666, allocations: 40.06 kB / 372.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.3667, allocations: 23.19 kB / 372.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.368, allocations: 0.5731 MB / 372.7 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006162/0.3741, allocations: 2.959 MB / 375.6 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.3747, allocations: 294.3 kB / 375.9 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.3751, allocations: 277.1 kB / 376.2 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.3751, allocations: 6.516 kB / 376.2 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3751, allocations: 37.31 kB / 376.2 MB, free: 18.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.925e-06/0.3752, allocations: 9.312 kB / 376.2 MB, free: 18.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001594/0.3768, allocations: 0.6492 MB / 376.9 MB, free: 17.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3768, allocations: 63.42 kB / 376.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.3774, allocations: 0.5083 MB / 377.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3775, allocations: 32.33 kB / 377.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.3777, allocations: 492.2 kB / 378 MB, free: 17.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3779, allocations: 153.3 kB / 378.1 MB, free: 16.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.3781, allocations: 134.4 kB / 378.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3782, allocations: 364.1 kB / 378.6 MB, free: 16.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.3785, allocations: 171.3 kB / 378.8 MB, free: 16.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.3791, allocations: 458.9 kB / 379.2 MB, free: 16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/0.3799, allocations: 0.65 MB / 379.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3799, allocations: 3.688 kB / 379.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001376/0.3813, allocations: 0.7625 MB / 380.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3813, allocations: 8.547 kB / 380.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.3813, allocations: 10.06 kB / 380.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.3817, allocations: 92.61 kB / 380.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.3824, allocations: 194.5 kB / 380.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.384, allocations: 1.999 MB / 382.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.3845, allocations: 94.47 kB / 383 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.3845, allocations: 36.09 kB / 383.1 MB, free: 13.21 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.0002782/0.3848, allocations: 215.3 kB / 383.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.3849, allocations: 57.91 kB / 383.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.613e-05/0.385, allocations: 69 kB / 383.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.385, allocations: 4.031 kB / 383.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.385, allocations: 5.062 kB / 383.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.385, allocations: 7.734 kB / 383.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/0.3859, allocations: 0.6368 MB / 384 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3859, allocations: 0 / 384 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.3864, allocations: 101.3 kB / 384.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.3866, allocations: 68.8 kB / 384.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.3866, allocations: 11.08 kB / 384.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.3882, allocations: 1.984 MB / 386.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3882, allocations: 2.062 kB / 386.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3892, allocations: 0.6654 MB / 386.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3894, allocations: 139.5 kB / 387 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.3894, allocations: 6.562 kB / 387 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.3898, allocations: 48.22 kB / 387.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.3899, allocations: 29.28 kB / 387.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.39, allocations: 13.31 kB / 387.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004482/0.3904, allocations: 345.3 kB / 387.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3904, allocations: 0 / 387.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008733/0.3913, allocations: 248.3 kB / 387.7 MB, free: 10.03 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.001156/0.3925, allocations: 1.216 MB / 388.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.3936, allocations: 0.6058 MB / 389.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.3936, allocations: 5.719 kB / 389.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.3941, allocations: 315 kB / 389.8 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.3948, allocations: 115.8 kB / 389.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007633/0.4024, allocations: 5.997 MB / 395.9 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.4029, allocations: 0.9309 MB / 396.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003786/0.4033, allocations: 69.28 kB / 396.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.4036, allocations: 267.6 kB / 397.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4036, allocations: 4 kB / 397.2 MB, free: 3.562 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.4319, allocations: 12.46 MB / 409.7 MB, free: 9.855 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.4321, allocations: 226.7 kB / 409.9 MB, free: 9.598 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.803, allocations: 0 / 409.9 MB, free: 9.598 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches