Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",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.0009179/0.0009179, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 180.5 kB / 16.91 MB, free: 6.914 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.385/1.385, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3898/0.3898, allocations: 43.57 MB / 315 MB, free: 9 MB / 254.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.0004826/0.0004826, allocations: 12 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1199, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003532/0.1235, allocations: 2.966 MB / 446.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.1261, allocations: 1.559 MB / 448.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.1264, allocations: 19.88 kB / 448.1 MB, free: 8.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.1269, allocations: 107.2 kB / 448.2 MB, free: 8.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.1273, allocations: 163 kB / 448.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009494/0.1282, allocations: 495.2 kB / 448.8 MB, free: 7.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008282/0.1291, allocations: 0.8651 MB / 449.7 MB, free: 6.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.1294, allocations: 226.4 kB / 449.9 MB, free: 6.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.1298, allocations: 294.4 kB / 450.2 MB, free: 6.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.1302, allocations: 350.2 kB / 450.6 MB, free: 5.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.1303, allocations: 20 kB / 450.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.82e-05/0.1304, allocations: 24 kB / 450.6 MB, free: 5.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.1305, allocations: 155.3 kB / 450.7 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.1308, allocations: 311.6 kB / 451.1 MB, free: 5.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006155/0.1314, allocations: 0.6963 MB / 451.8 MB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1314, allocations: 0 / 451.8 MB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1314, allocations: 3.938 kB / 451.8 MB, free: 4.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1315, allocations: 0 / 451.8 MB, free: 4.543 MB / 382.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.002023/0.1335, allocations: 1.051 MB / 452.8 MB, free: 3.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1335, allocations: 12.03 kB / 452.8 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.569e-05/0.1336, allocations: 86.7 kB / 452.9 MB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.1338, allocations: 91.81 kB / 453 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008273/0.1346, allocations: 0.5623 MB / 453.6 MB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.1347, allocations: 37.38 kB / 453.6 MB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.1348, allocations: 60.36 kB / 453.6 MB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.1359, allocations: 0.6292 MB / 454.3 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1359, allocations: 7.906 kB / 454.3 MB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.136, allocations: 24 kB / 454.3 MB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.136, allocations: 12 kB / 454.3 MB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.1371, allocations: 497.8 kB / 454.8 MB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1921/0.3292, allocations: 2.688 MB / 457.5 MB, free: 44.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.3304, allocations: 0.5781 MB / 458.1 MB, free: 44.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.3309, allocations: 275.8 kB / 458.3 MB, free: 44.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.331, allocations: 6.703 kB / 458.4 MB, free: 44.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.331, allocations: 37.28 kB / 458.4 MB, free: 44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 3.406e-06/0.331, allocations: 0 / 458.4 MB, free: 44 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002336/0.3334, allocations: 1.208 MB / 459.6 MB, free: 43.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3334, allocations: 136.8 kB / 459.7 MB, free: 43.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.3342, allocations: 0.6634 MB / 460.4 MB, free: 43.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.3342, allocations: 35.42 kB / 460.4 MB, free: 43.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.3344, allocations: 361.5 kB / 460.8 MB, free: 43.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3346, allocations: 177.4 kB / 461 MB, free: 43.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/0.3346, allocations: 64.22 kB / 461 MB, free: 43.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.3347, allocations: 332.4 kB / 461.3 MB, free: 42.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/0.3353, allocations: 290.1 kB / 461.6 MB, free: 42.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/0.336, allocations: 452 kB / 462.1 MB, free: 42.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.3372, allocations: 0.7201 MB / 462.8 MB, free: 42.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3372, allocations: 0 / 462.8 MB, free: 42.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001487/0.3387, allocations: 0.8423 MB / 463.6 MB, free: 42.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/0.3388, allocations: 229.1 kB / 463.9 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3388, allocations: 2.938 kB / 463.9 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.3388, allocations: 8.625 kB / 463.9 MB, free: 42.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.3395, allocations: 163.9 kB / 464 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.3395, allocations: 16.05 kB / 464 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.34, allocations: 88.2 kB / 464.1 MB, free: 42.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.3401, allocations: 26.91 kB / 464.1 MB, free: 42.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.3401, allocations: 2.844 kB / 464.2 MB, free: 42.1 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/0.3414, allocations: 0.7142 MB / 464.9 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3414, allocations: 5.906 kB / 464.9 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.3415, allocations: 8.531 kB / 464.9 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.342, allocations: 157.9 kB / 465 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.342, allocations: 7.938 kB / 465 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.3425, allocations: 91.16 kB / 465.1 MB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.3426, allocations: 25.39 kB / 465.2 MB, free: 42.01 MB / 382.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.0003637/0.343, allocations: 288.5 kB / 465.4 MB, free: 41.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3431, allocations: 77.09 kB / 465.5 MB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.3433, allocations: 90 kB / 465.6 MB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3433, allocations: 9.781 kB / 465.6 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.3433, allocations: 3.938 kB / 465.6 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3433, allocations: 6.828 kB / 465.6 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.3445, allocations: 0.8548 MB / 466.5 MB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3445, allocations: 2.562 kB / 466.5 MB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.3451, allocations: 115.3 kB / 466.6 MB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3451, allocations: 6.906 kB / 466.6 MB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.452e-05/0.3452, allocations: 15.75 kB / 466.6 MB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3452, allocations: 3.125 kB / 466.6 MB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3452, allocations: 4.969 kB / 466.6 MB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.347, allocations: 1.203 MB / 467.8 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.3472, allocations: 198.4 kB / 468 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.511e-05/0.3473, allocations: 24.41 kB / 468 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.3478, allocations: 57.7 kB / 468.1 MB, free: 40.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.3479, allocations: 36.02 kB / 468.1 MB, free: 40.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.348, allocations: 16.59 kB / 468.1 MB, free: 40.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006062/0.3486, allocations: 469.1 kB / 468.6 MB, free: 40.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3486, allocations: 0 / 468.6 MB, free: 40.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008781/0.3495, allocations: 194.4 kB / 468.8 MB, free: 40.83 MB / 382.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.002288/0.3518, allocations: 1.761 MB / 470.6 MB, free: 39.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.3538, allocations: 1.021 MB / 471.6 MB, free: 39.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3538, allocations: 4.188 kB / 471.6 MB, free: 39.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.3544, allocations: 306.2 kB / 471.9 MB, free: 39.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3556, allocations: 175.2 kB / 472.1 MB, free: 39.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009088/0.3647, allocations: 7.264 MB / 479.3 MB, free: 35.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3651, allocations: 0.9508 MB / 480.3 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005096/0.3656, allocations: 151.4 kB / 480.4 MB, free: 34.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.3659, allocations: 257.6 kB / 480.7 MB, free: 34.73 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3659, allocations: 0 / 480.7 MB, free: 34.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.3993, allocations: 13.56 MB / 494.2 MB, free: 33.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.3995, allocations: 187.7 kB / 494.4 MB, free: 33.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.492, allocations: 0 / 494.4 MB, free: 33.51 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous/Continuous.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches