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.001001/0.001002, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001045/0.001045, allocations: 198 kB / 18.07 MB, free: 5.406 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.233/1.233, allocations: 205.1 MB / 223.9 MB, free: 12.51 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.001059/0.001059, allocations: 48.16 kB / 280.1 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07618/0.07725, allocations: 46.62 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003359/0.08065, allocations: 2.811 MB / 329.5 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.08151, allocations: 0.6593 MB / 330.2 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.08163, allocations: 7.938 kB / 330.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.08177, allocations: 31.75 kB / 330.2 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.08192, allocations: 79.36 kB / 330.3 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.08209, allocations: 59.89 kB / 330.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.08237, allocations: 339 kB / 330.7 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.08258, allocations: 127.5 kB / 330.8 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.08269, allocations: 119.5 kB / 330.9 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.08285, allocations: 147.4 kB / 331.1 MB, free: 424 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.0829, allocations: 20 kB / 331.1 MB, free: 404 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.08295, allocations: 24 kB / 331.1 MB, free: 380 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.08301, allocations: 67.69 kB / 331.2 MB, free: 312 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.08313, allocations: 147.3 kB / 331.3 MB, free: 164 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.0834, allocations: 343 kB / 331.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.08342, allocations: 4 kB / 331.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.08342, allocations: 0 / 331.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.08343, allocations: 0 / 331.6 MB, free: 15.82 MB / 286.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.0007606/0.0842, allocations: 0.5887 MB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.08425, allocations: 12.02 kB / 332.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.08431, allocations: 66.73 kB / 332.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.08437, allocations: 36.56 kB / 332.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.08461, allocations: 255.8 kB / 332.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.08464, allocations: 20.94 kB / 332.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.08469, allocations: 28.31 kB / 332.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.08509, allocations: 260.9 kB / 332.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.08511, allocations: 0 / 332.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.08514, allocations: 8 kB / 332.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.08515, allocations: 8 kB / 332.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.08549, allocations: 186.2 kB / 333.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.08683, allocations: 1.021 MB / 334.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003498/0.0872, allocations: 328.9 kB / 334.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.08741, allocations: 144.8 kB / 334.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.08743, allocations: 0 / 334.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.08746, allocations: 38.56 kB / 334.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.051e-06/0.08747, allocations: 0 / 334.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001284/0.08875, allocations: 0.7713 MB / 335.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.08879, allocations: 55.41 kB / 335.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.08895, allocations: 190.3 kB / 335.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.08898, allocations: 29.7 kB / 335.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.08907, allocations: 168.3 kB / 335.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.08913, allocations: 90.64 kB / 335.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.08921, allocations: 53.98 kB / 336 MB, free: 11.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.08931, allocations: 334.8 kB / 336.3 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.08945, allocations: 68.53 kB / 336.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.08961, allocations: 106.7 kB / 336.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.08988, allocations: 181.7 kB / 336.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.08989, allocations: 0 / 336.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004809/0.09037, allocations: 317.9 kB / 337 MB, free: 10.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.0904, allocations: 8 kB / 337 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.09041, allocations: 4.031 kB / 337 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.09065, allocations: 80.81 kB / 337 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.09083, allocations: 55.84 kB / 337.1 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.09251, allocations: 1.89 MB / 339 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.09264, allocations: 16.03 kB / 339 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.09266, allocations: 8 kB / 339 MB, free: 7.953 MB / 286.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.000114/0.09278, allocations: 138 kB / 339.1 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.09283, allocations: 23.72 kB / 339.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.09288, allocations: 29.86 kB / 339.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.09289, allocations: 4 kB / 339.2 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.0929, allocations: 0 / 339.2 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.09291, allocations: 4 kB / 339.2 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/0.09387, allocations: 0.7564 MB / 340 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.09389, allocations: 0 / 340 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.09406, allocations: 39.91 kB / 340 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.09426, allocations: 68.81 kB / 340.1 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.09428, allocations: 11.98 kB / 340.1 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.09572, allocations: 1.776 MB / 341.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.09573, allocations: 96 / 341.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.09632, allocations: 471.7 kB / 342.3 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.09638, allocations: 96.89 kB / 342.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.09642, allocations: 8.062 kB / 342.4 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.09658, allocations: 8 kB / 342.4 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.09664, allocations: 31.91 kB / 342.5 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.09666, allocations: 7.984 kB / 342.5 MB, free: 4.254 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.09677, allocations: 144.3 kB / 342.6 MB, free: 4.113 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.09678, allocations: 0 / 342.6 MB, free: 4.113 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.09717, allocations: 72 kB / 342.7 MB, free: 4.043 MB / 286.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.0008495/0.09802, allocations: 1.014 MB / 343.7 MB, free: 3 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.09859, allocations: 366.4 kB / 344 MB, free: 2.629 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.09861, allocations: 4.062 kB / 344.1 MB, free: 2.625 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.09899, allocations: 254.5 kB / 344.3 MB, free: 2.363 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.0994, allocations: 39.88 kB / 344.3 MB, free: 2.324 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.1025, allocations: 2.955 MB / 347.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1028, allocations: 0.7636 MB / 348.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.058e-05/0.1029, allocations: 18.3 kB / 348.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.103, allocations: 83.41 kB / 348.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.103, allocations: 0 / 348.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1192, allocations: 5.394 MB / 353.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003858/0.1197, allocations: 242.5 kB / 353.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/1.998, allocations: 0 / 353.8 MB, free: 8.695 MB / 302.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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches