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.001174/0.001174, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001247/0.001247, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 71.75 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1267, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005809/0.1325, allocations: 2.825 MB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1342, allocations: 0.6466 MB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.1345, allocations: 7.938 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1348, allocations: 47.56 kB / 361.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.1352, allocations: 91.19 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.1356, allocations: 79.84 kB / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005907/0.1362, allocations: 343 kB / 361.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.1366, allocations: 143.3 kB / 361.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.1368, allocations: 135.5 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.1372, allocations: 147.3 kB / 362 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.625e-05/0.1373, allocations: 32 kB / 362.1 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1374, allocations: 32 kB / 362.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.1375, allocations: 71.77 kB / 362.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.1378, allocations: 155.3 kB / 362.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.1383, allocations: 366.9 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1383, allocations: 0 / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1383, allocations: 3.938 kB / 362.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1383, allocations: 0 / 362.7 MB, free: 8.879 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.001318/0.1396, allocations: 0.5925 MB / 363.3 MB, free: 8.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.1397, allocations: 8.031 kB / 363.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.1398, allocations: 70.66 kB / 363.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1399, allocations: 36.56 kB / 363.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.1403, allocations: 247.9 kB / 363.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.1404, allocations: 20.94 kB / 363.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.1405, allocations: 28.28 kB / 363.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.1412, allocations: 264.9 kB / 363.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1412, allocations: 0 / 363.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.1412, allocations: 8 kB / 363.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1413, allocations: 8 kB / 363.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.1418, allocations: 186.2 kB / 364.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.1441, allocations: 1.014 MB / 365.1 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.1447, allocations: 332.8 kB / 365.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.1451, allocations: 144.8 kB / 365.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1451, allocations: 7.984 kB / 365.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1452, allocations: 38.56 kB / 365.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.455e-06/0.1452, allocations: 0 / 365.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002201/0.1474, allocations: 0.7688 MB / 366.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.1475, allocations: 55.41 kB / 366.5 MB, free: 4.773 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.1478, allocations: 198.1 kB / 366.7 MB, free: 4.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.1478, allocations: 25.7 kB / 366.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.148, allocations: 172.2 kB / 366.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1481, allocations: 98.67 kB / 367 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1482, allocations: 45.98 kB / 367 MB, free: 4.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1484, allocations: 334.8 kB / 367.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.1487, allocations: 68.53 kB / 367.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.1489, allocations: 107.6 kB / 367.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.1494, allocations: 177.7 kB / 367.7 MB, free: 3.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1494, allocations: 3.938 kB / 367.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008694/0.1503, allocations: 318 kB / 368 MB, free: 3.195 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.1504, allocations: 8 kB / 368 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.1504, allocations: 3.984 kB / 368 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004358/0.1508, allocations: 88.78 kB / 368.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.1511, allocations: 47.86 kB / 368.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.1544, allocations: 2.092 MB / 370.2 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.1546, allocations: 7.938 kB / 370.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.1546, allocations: 8 kB / 370.2 MB, free: 0.8008 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.0002089/0.1549, allocations: 145.7 kB / 370.4 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.1549, allocations: 15.81 kB / 370.4 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.155, allocations: 29.86 kB / 370.4 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.155, allocations: 4 kB / 370.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1551, allocations: 0 / 370.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1551, allocations: 8 kB / 370.4 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2085/0.3636, allocations: 0.7494 MB / 371.2 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3636, allocations: 0.6094 kB / 371.2 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.3639, allocations: 37.64 kB / 371.2 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000286/0.3642, allocations: 74.44 kB / 371.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3642, allocations: 8.734 kB / 371.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.3658, allocations: 1.981 MB / 373.3 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3658, allocations: 0 / 373.3 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.3665, allocations: 471.4 kB / 373.8 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.3666, allocations: 91.88 kB / 373.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.3667, allocations: 6.734 kB / 373.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3668, allocations: 15.34 kB / 373.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.3669, allocations: 20.64 kB / 373.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3669, allocations: 12.67 kB / 373.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3671, allocations: 144 kB / 374 MB, free: 18.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3671, allocations: 0 / 374 MB, free: 18.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.3675, allocations: 77.94 kB / 374.1 MB, free: 18.06 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.0008271/0.3684, allocations: 0.9941 MB / 375.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007254/0.3691, allocations: 372 kB / 375.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3691, allocations: 4.75 kB / 375.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.3695, allocations: 265.9 kB / 375.7 MB, free: 17.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.37, allocations: 40.83 kB / 375.8 MB, free: 17.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.3734, allocations: 2.835 MB / 378.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3737, allocations: 0.7673 MB / 379.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.3738, allocations: 26.19 kB / 379.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3739, allocations: 85.14 kB / 379.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.374, allocations: 0 / 379.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.4073, allocations: 5.662 MB / 385.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.307/9.715, allocations: 12.67 kB / 385.2 MB, free: 13.63 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