Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008365/0.0008365, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009741/0.000974, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000206/0.0002059, allocations: 8 kB / 307.8 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08882, allocations: 51.51 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003041/0.0919, allocations: 2.504 MB / 361.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.09312, allocations: 0.6312 MB / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.09337, allocations: 7.938 kB / 362.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.09354, allocations: 35.75 kB / 362.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.0938, allocations: 87.3 kB / 362.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.09403, allocations: 63.95 kB / 362.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.09441, allocations: 338.9 kB / 363 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.09464, allocations: 115.9 kB / 363.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.09479, allocations: 111.5 kB / 363.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.09503, allocations: 127.4 kB / 363.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.09508, allocations: 19.98 kB / 363.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.262e-05/0.09513, allocations: 16 kB / 363.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.09519, allocations: 59.7 kB / 363.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.09534, allocations: 165 kB / 363.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.09562, allocations: 338.9 kB / 363.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09563, allocations: 0 / 363.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.09564, allocations: 0 / 363.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.09566, allocations: 0 / 363.9 MB, free: 8.559 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007487/0.09641, allocations: 0.5458 MB / 364.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.09645, allocations: 8.031 kB / 364.5 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.874e-05/0.09653, allocations: 66.72 kB / 364.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.0966, allocations: 32.56 kB / 364.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.09688, allocations: 255.8 kB / 364.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.09692, allocations: 24.94 kB / 364.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.09697, allocations: 28.38 kB / 364.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.0974, allocations: 257 kB / 365.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.09742, allocations: 0 / 365.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.09745, allocations: 12 kB / 365.2 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.09746, allocations: 8 kB / 365.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.09778, allocations: 194.1 kB / 365.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.09916, allocations: 1.025 MB / 366.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.09954, allocations: 342.4 kB / 366.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.09976, allocations: 151 kB / 366.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.09978, allocations: 0 / 366.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.09981, allocations: 34.56 kB / 366.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 9.92e-07/0.09981, allocations: 0 / 366.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001337/0.1012, allocations: 0.7957 MB / 367.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.1012, allocations: 51.41 kB / 367.7 MB, free: 4.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1014, allocations: 198.1 kB / 367.9 MB, free: 4.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1014, allocations: 29.7 kB / 368 MB, free: 4.227 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.1015, allocations: 164.3 kB / 368.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.1016, allocations: 98.62 kB / 368.2 MB, free: 3.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.1016, allocations: 25.72 kB / 368.2 MB, free: 3.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1017, allocations: 338.8 kB / 368.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1018, allocations: 76.53 kB / 368.6 MB, free: 3.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.102, allocations: 107.6 kB / 368.8 MB, free: 3.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.1023, allocations: 182.1 kB / 368.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1023, allocations: 0 / 368.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004917/0.1028, allocations: 322 kB / 369.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1028, allocations: 4 kB / 369.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1028, allocations: 4 kB / 369.3 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/0.103, allocations: 88.78 kB / 369.3 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1032, allocations: 55.84 kB / 369.4 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.105, allocations: 1.874 MB / 371.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.1051, allocations: 8.031 kB / 371.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1051, allocations: 12.06 kB / 371.3 MB, free: 0.7227 MB / 302.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.0001191/0.1053, allocations: 149.7 kB / 371.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.1053, allocations: 19.72 kB / 371.5 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.1054, allocations: 29.86 kB / 371.5 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1054, allocations: 4 kB / 371.5 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1054, allocations: 4 kB / 371.5 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1054, allocations: 0 / 371.5 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1473/0.2527, allocations: 0.753 MB / 372.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2527, allocations: 4.484 kB / 372.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.2529, allocations: 38.8 kB / 372.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.2531, allocations: 72.75 kB / 372.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.2532, allocations: 13.2 kB / 372.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.2544, allocations: 1.794 MB / 374.2 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2545, allocations: 0 / 374.2 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.2551, allocations: 475.3 kB / 374.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.2551, allocations: 93.2 kB / 374.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.2551, allocations: 6 kB / 374.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2553, allocations: 13.02 kB / 374.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.2554, allocations: 20.2 kB / 374.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2554, allocations: 8.562 kB / 374.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.2555, allocations: 144.7 kB / 374.9 MB, free: 16.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2555, allocations: 0 / 374.9 MB, free: 16.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.2559, allocations: 77.78 kB / 375 MB, free: 16.94 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,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.0007935/0.2567, allocations: 0.9982 MB / 376 MB, free: 16.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006347/0.2574, allocations: 373.6 kB / 376.3 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2574, allocations: 1.156 kB / 376.3 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.2578, allocations: 266.5 kB / 376.6 MB, free: 16.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2582, allocations: 42.53 kB / 376.6 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.2613, allocations: 3.045 MB / 379.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2615, allocations: 0.7666 MB / 380.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.602e-05/0.2616, allocations: 21.2 kB / 380.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.489e-05/0.2617, allocations: 87.34 kB / 380.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2617, allocations: 0 / 380.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.2776, allocations: 5.274 MB / 385.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.2778, allocations: 227.8 kB / 386.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.959, allocations: 0 / 386.1 MB, free: 12.81 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches