Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_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.001419/0.001419, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001339/0.001339, allocations: 187 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 59.92 kB / 328.1 MB, free: 3.734 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1098, allocations: 46.61 MB / 374.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2459/0.3558, allocations: 5.709 MB / 380.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.3584, allocations: 1.193 MB / 381.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/0.3589, allocations: 20.19 kB / 381.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.3593, allocations: 173.1 kB / 381.8 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006165/0.36, allocations: 276.2 kB / 382.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.3606, allocations: 220.3 kB / 382.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.3618, allocations: 1.074 MB / 383.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000835/0.3626, allocations: 0.5125 MB / 383.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004393/0.3631, allocations: 415.8 kB / 384.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005455/0.3636, allocations: 471 kB / 384.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.3638, allocations: 97.78 kB / 384.8 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.364, allocations: 101.2 kB / 384.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.3642, allocations: 222.7 kB / 385.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.3646, allocations: 0.5004 MB / 385.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.3658, allocations: 1.104 MB / 386.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3658, allocations: 3.938 kB / 386.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3658, allocations: 1.219 kB / 386.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.3659, allocations: 0 / 386.7 MB, free: 7.191 MB / 318.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.002148/0.368, allocations: 1.265 MB / 388 MB, free: 6.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.3681, allocations: 10.16 kB / 388 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.3683, allocations: 146.1 kB / 388.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3684, allocations: 110.4 kB / 388.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.3692, allocations: 468.6 kB / 388.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/0.3692, allocations: 67.97 kB / 388.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.3694, allocations: 100.2 kB / 388.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3708, allocations: 0.8646 MB / 389.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.3709, allocations: 3.938 kB / 389.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.3709, allocations: 47 kB / 389.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.371, allocations: 23.75 kB / 389.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.372, allocations: 0.5663 MB / 390.4 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/0.3764, allocations: 2.956 MB / 393.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.3769, allocations: 298 kB / 393.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.3773, allocations: 274.3 kB / 393.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3773, allocations: 4.719 kB / 393.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.3773, allocations: 38.92 kB / 393.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.054e-06/0.3773, allocations: 4 kB / 394 MB, free: 3.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001502/0.3788, allocations: 0.651 MB / 394.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3789, allocations: 69.97 kB / 394.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/0.3796, allocations: 0.5061 MB / 395.2 MB, free: 2.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3796, allocations: 33.17 kB / 395.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.3799, allocations: 0.4951 MB / 395.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.38, allocations: 160.8 kB / 395.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.3802, allocations: 134.3 kB / 396 MB, free: 1.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3803, allocations: 364.7 kB / 396.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.3806, allocations: 171.3 kB / 396.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.381, allocations: 455.9 kB / 397 MB, free: 1.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.3817, allocations: 0.6498 MB / 397.6 MB, free: 464 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.3817, allocations: 3.938 kB / 397.6 MB, free: 464 kB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001128/0.3829, allocations: 0.7617 MB / 398.4 MB, free: 112 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3829, allocations: 13.34 kB / 398.4 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3829, allocations: 9.844 kB / 398.4 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.3833, allocations: 79.36 kB / 398.5 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.384, allocations: 201 kB / 398.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.3863, allocations: 2.001 MB / 400.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.3869, allocations: 86.09 kB / 400.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.3869, allocations: 35.44 kB / 400.8 MB, free: 14.21 MB / 334.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.0003275/0.3873, allocations: 219.5 kB / 401 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3874, allocations: 61.88 kB / 401.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.3875, allocations: 62.83 kB / 401.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3875, allocations: 4.125 kB / 401.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.3876, allocations: 8.062 kB / 401.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3876, allocations: 3.578 kB / 401.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3886, allocations: 0.6499 MB / 401.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3886, allocations: 3.312 kB / 401.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.3891, allocations: 104.3 kB / 401.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002286/0.3893, allocations: 69.42 kB / 402 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.3893, allocations: 10.97 kB / 402 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.3915, allocations: 1.981 MB / 404 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3916, allocations: 1.125 kB / 404 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.3928, allocations: 0.6648 MB / 404.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.3929, allocations: 139.4 kB / 404.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.393, allocations: 13.22 kB / 404.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.3934, allocations: 38.94 kB / 404.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.3935, allocations: 34.91 kB / 404.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3936, allocations: 13.08 kB / 404.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005728/0.3941, allocations: 349.1 kB / 405.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3941, allocations: 288 / 405.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001083/0.3952, allocations: 248.7 kB / 405.4 MB, free: 11.01 MB / 334.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.001593/0.3968, allocations: 1.223 MB / 406.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.398, allocations: 0.5991 MB / 407.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.398, allocations: 1.938 kB / 407.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.3986, allocations: 314.2 kB / 407.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/0.3992, allocations: 120.8 kB / 407.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008165/0.4074, allocations: 5.499 MB / 413.2 MB, free: 5.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.408, allocations: 0.9327 MB / 414.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003288/0.4084, allocations: 68.78 kB / 414.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.4087, allocations: 267.6 kB / 414.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of SimCode: time 1.173e-06/0.4087, allocations: 4 kB / 414.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04572/0.4545, allocations: 12.82 MB / 427.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.18, allocations: 12.02 kB / 427.3 MB, free: 9.078 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches