Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState",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.000906/0.0009061, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0008754/0.0008754, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1812/0.1812, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002826, allocations: 11.98 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09442/0.09472, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003358/0.09811, allocations: 2.981 MB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.1009, allocations: 1.501 MB / 476.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005106/0.1014, allocations: 19.88 kB / 476.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.102, allocations: 111.2 kB / 477 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005975/0.1026, allocations: 163 kB / 477.1 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1037, allocations: 490.5 kB / 477.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.1047, allocations: 0.8577 MB / 478.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.1051, allocations: 226.3 kB / 478.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.1055, allocations: 290.5 kB / 479 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.106, allocations: 346.1 kB / 479.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.106, allocations: 24 kB / 479.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.1061, allocations: 20 kB / 479.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1063, allocations: 159.3 kB / 479.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.1065, allocations: 319.5 kB / 479.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.107, allocations: 0.6847 MB / 480.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.107, allocations: 0 / 480.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.107, allocations: 0 / 480.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.107, allocations: 0 / 480.5 MB, free: 5.062 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.00184/0.1089, allocations: 1.057 MB / 481.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1089, allocations: 12.03 kB / 481.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.902e-05/0.109, allocations: 90.7 kB / 481.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1091, allocations: 87.91 kB / 481.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.1099, allocations: 0.5584 MB / 482.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.1099, allocations: 37.38 kB / 482.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.11, allocations: 56.28 kB / 482.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.111, allocations: 0.6408 MB / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1111, allocations: 0 / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.1111, allocations: 24 kB / 483.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1111, allocations: 12 kB / 483.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1122, allocations: 0.49 MB / 483.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.1153, allocations: 2.69 MB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.1163, allocations: 0.5808 MB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.1169, allocations: 278.4 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.117, allocations: 4 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.117, allocations: 38.56 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.117, allocations: 0 / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002422/0.1194, allocations: 1.21 MB / 488.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.1195, allocations: 136.5 kB / 488.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.1203, allocations: 0.6529 MB / 489.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.1204, allocations: 33.7 kB / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.1206, allocations: 364 kB / 489.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.1207, allocations: 169.5 kB / 489.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.1208, allocations: 61.67 kB / 489.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.1209, allocations: 337.9 kB / 490.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006287/0.1216, allocations: 289.1 kB / 490.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/0.1223, allocations: 452.5 kB / 490.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.1236, allocations: 0.7249 MB / 491.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1236, allocations: 0 / 491.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001562/0.1252, allocations: 0.8478 MB / 492.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.1253, allocations: 216.3 kB / 492.6 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1253, allocations: 7.938 kB / 492.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1254, allocations: 8 kB / 492.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/0.126, allocations: 163.7 kB / 492.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1261, allocations: 8 kB / 492.8 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.1266, allocations: 95.53 kB / 492.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.1266, allocations: 24 kB / 492.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.1266, allocations: 4 kB / 492.9 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001376/0.128, allocations: 0.7215 MB / 493.6 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.128, allocations: 7.938 kB / 493.6 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.128, allocations: 8 kB / 493.6 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.1286, allocations: 152.2 kB / 493.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1286, allocations: 11.98 kB / 493.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.1291, allocations: 75.64 kB / 493.9 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.1291, allocations: 28 kB / 493.9 MB, free: 7.105 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002486/0.1294, allocations: 301.2 kB / 494.2 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.1295, allocations: 75.06 kB / 494.3 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.1297, allocations: 90.22 kB / 494.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1297, allocations: 4 kB / 494.4 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1297, allocations: 0 / 494.4 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1297, allocations: 7.984 kB / 494.4 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.1308, allocations: 0.8609 MB / 495.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1308, allocations: 7.938 kB / 495.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.1315, allocations: 119.8 kB / 495.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1315, allocations: 4 kB / 495.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.1315, allocations: 12 kB / 495.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.1315, allocations: 11.92 kB / 495.4 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1315, allocations: 0 / 495.4 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.1334, allocations: 1.196 MB / 496.6 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.1337, allocations: 200.3 kB / 496.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.1337, allocations: 12 kB / 496.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.1343, allocations: 75.81 kB / 496.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.1344, allocations: 43.88 kB / 496.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.1344, allocations: 8 kB / 496.9 MB, free: 3.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005714/0.135, allocations: 467 kB / 497.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.135, allocations: 0 / 497.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006706/0.1357, allocations: 192 kB / 497.5 MB, free: 3.348 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002237/0.1379, allocations: 1.752 MB / 499.3 MB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.1399, allocations: 1.025 MB / 0.4886 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1399, allocations: 0 / 0.4886 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.1405, allocations: 303.8 kB / 0.4889 GB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.1416, allocations: 174.5 kB / 0.4891 GB, free: 72 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009342/0.151, allocations: 7.23 MB / 0.4961 GB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.1514, allocations: 0.9497 MB / 0.497 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004347/0.1519, allocations: 156.8 kB / 0.4972 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.1522, allocations: 259.3 kB / 0.4974 GB, free: 7.188 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1522, allocations: 0 / 0.4974 GB, free: 7.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1929/0.3451, allocations: 13.5 MB / 0.5106 GB, free: 47.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001241/0.3453, allocations: 200.7 kB / 0.5108 GB, free: 47.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.165, allocations: 3.719 kB / 0.5108 GB, free: 47.54 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches