Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.001288/0.001288, allocations: 106.6 kB / 17.72 MB, free: 5.324 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.00131/0.00131, allocations: 194.9 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.55/1.55, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.00177/0.00177, allocations: 47.94 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1142, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00448/0.1187, allocations: 2.757 MB / 377.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1201, allocations: 0.6551 MB / 378.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.1203, allocations: 8 kB / 378.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.1205, allocations: 47.5 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1207, allocations: 95.17 kB / 378.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1209, allocations: 79.83 kB / 378.3 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.1214, allocations: 346.8 kB / 378.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.1217, allocations: 147.3 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.1218, allocations: 127.6 kB / 378.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.1221, allocations: 155.3 kB / 379.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.1221, allocations: 32 kB / 379.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.956e-05/0.1222, allocations: 32 kB / 379.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.384e-05/0.1223, allocations: 75.69 kB / 379.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.1225, allocations: 155.3 kB / 379.3 MB, free: 356 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2392/0.3617, allocations: 355.1 kB / 379.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.3618, allocations: 0 / 379.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3618, allocations: 0 / 379.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.3618, allocations: 1.719 kB / 379.7 MB, free: 10.03 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001065/0.3629, allocations: 0.598 MB / 380.3 MB, free: 9.594 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3629, allocations: 9.656 kB / 380.3 MB, free: 9.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.006e-05/0.363, allocations: 66.31 kB / 380.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.3631, allocations: 37.8 kB / 380.4 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.3635, allocations: 253.4 kB / 380.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3635, allocations: 18.88 kB / 380.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.3636, allocations: 33.39 kB / 380.7 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.364, allocations: 258.8 kB / 381 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3641, allocations: 0 / 381 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.3641, allocations: 9.906 kB / 381 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.3641, allocations: 8.734 kB / 381 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.3644, allocations: 186.5 kB / 381.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.366, allocations: 1.007 MB / 382.2 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.3664, allocations: 327.9 kB / 382.5 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.3667, allocations: 145.2 kB / 382.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3668, allocations: 2.219 kB / 382.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3668, allocations: 33.31 kB / 382.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 4.248e-06/0.3668, allocations: 0 / 382.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001654/0.3685, allocations: 0.7882 MB / 383.4 MB, free: 8.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.3685, allocations: 59.39 kB / 383.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3687, allocations: 197.3 kB / 383.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3687, allocations: 30.98 kB / 383.7 MB, free: 8.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.3688, allocations: 170.7 kB / 383.9 MB, free: 7.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.3689, allocations: 93.23 kB / 384 MB, free: 7.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.369, allocations: 53.56 kB / 384 MB, free: 7.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.369, allocations: 337.2 kB / 384.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.3692, allocations: 74.38 kB / 384.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.3693, allocations: 95.84 kB / 384.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.3696, allocations: 185.6 kB / 384.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3696, allocations: 3.281 kB / 384.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005345/0.3702, allocations: 316 kB / 385 MB, free: 7.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3702, allocations: 5.062 kB / 385 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3702, allocations: 0 / 385 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.3705, allocations: 86.94 kB / 385.1 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.3707, allocations: 52 kB / 385.2 MB, free: 7.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.3724, allocations: 2.091 MB / 387.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.3726, allocations: 11.39 kB / 387.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3726, allocations: 5.375 kB / 387.3 MB, free: 5.617 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.3728, allocations: 143.3 kB / 387.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.3728, allocations: 19.42 kB / 387.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.3729, allocations: 31.47 kB / 387.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3729, allocations: 2.469 kB / 387.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.3729, allocations: 1.781 kB / 387.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3729, allocations: 10.42 kB / 387.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.374, allocations: 0.7369 MB / 388.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.374, allocations: 3.094 kB / 388.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.3742, allocations: 45.84 kB / 388.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002583/0.3745, allocations: 75.83 kB / 388.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3745, allocations: 7.656 kB / 388.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.3763, allocations: 1.982 MB / 390.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3763, allocations: 0 / 390.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.377, allocations: 473.2 kB / 390.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3771, allocations: 99.11 kB / 390.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3771, allocations: 7.094 kB / 390.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3773, allocations: 14.12 kB / 390.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.3774, allocations: 20.05 kB / 390.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3774, allocations: 9.297 kB / 390.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3775, allocations: 146.7 kB / 391.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.774e-06/0.3775, allocations: 4 kB / 391.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004969/0.378, allocations: 81.12 kB / 391.2 MB, free: 2.672 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0008929/0.3789, allocations: 0.994 MB / 392.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007376/0.3797, allocations: 369.5 kB / 392.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3797, allocations: 1.031 kB / 392.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.3801, allocations: 257.2 kB / 392.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3805, allocations: 39.62 kB / 392.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.3842, allocations: 2.844 MB / 395.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.3847, allocations: 0.7656 MB / 396.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.3849, allocations: 23.44 kB / 396.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.385, allocations: 85.05 kB / 396.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of SimCode: time 8.81e-07/0.385, allocations: 0 / 396.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04199/0.427, allocations: 5.794 MB / 402.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.76, allocations: 16.77 kB / 402.3 MB, free: 13.7 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches