Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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_InitialState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_3_2_3_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.0009033/0.0009032, allocations: 96.7 kB / 15.7 MB, free: 468 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.001004/0.001004, allocations: 173.1 kB / 16.58 MB, free: 6.848 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.422/1.422, allocations: 205.4 MB / 222.7 MB, free: 5.891 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.3371/0.3371, allocations: 43.54 MB / 314.6 MB, free: 8.914 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.0004865/0.0004865, allocations: 16 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 58.86 MB / 442.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003529/0.136, allocations: 2.86 MB / 445.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.139, allocations: 1.509 MB / 447.2 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.1394, allocations: 19.88 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.1399, allocations: 111.2 kB / 447.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.1404, allocations: 159 kB / 447.5 MB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1415, allocations: 423.2 kB / 447.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009622/0.1425, allocations: 0.7911 MB / 448.7 MB, free: 7.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.1429, allocations: 181.2 kB / 448.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.1433, allocations: 286.6 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004233/0.1437, allocations: 330.3 kB / 449.5 MB, free: 6.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.233e-05/0.1438, allocations: 24 kB / 449.5 MB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.1439, allocations: 20 kB / 449.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.1441, allocations: 151.4 kB / 449.7 MB, free: 6.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1442, allocations: 133.3 kB / 449.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.1446, allocations: 0.5378 MB / 450.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1447, allocations: 0 / 450.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1447, allocations: 3.938 kB / 450.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1447, allocations: 4 kB / 450.4 MB, free: 5.652 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.002059/0.1467, allocations: 1.055 MB / 451.4 MB, free: 4.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1468, allocations: 8.031 kB / 451.4 MB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.1469, allocations: 90.45 kB / 451.5 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.1471, allocations: 90.92 kB / 451.6 MB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009298/0.148, allocations: 0.5382 MB / 452.1 MB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.1481, allocations: 37 kB / 452.2 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-05/0.1482, allocations: 55.98 kB / 452.2 MB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.1492, allocations: 0.6252 MB / 452.9 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.1493, allocations: 11.83 kB / 452.9 MB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.1493, allocations: 20 kB / 452.9 MB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.1494, allocations: 15.95 kB / 452.9 MB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1504, allocations: 0.49 MB / 453.4 MB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2385/0.3889, allocations: 2.678 MB / 456.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009881/0.3899, allocations: 0.5808 MB / 456.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.3904, allocations: 271.3 kB / 456.9 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.3905, allocations: 6.203 kB / 456.9 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3905, allocations: 37.03 kB / 457 MB, free: 45.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/0.3905, allocations: 3.844 kB / 457 MB, free: 45.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002146/0.3926, allocations: 1.206 MB / 458.2 MB, free: 45.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3927, allocations: 145.1 kB / 458.3 MB, free: 45.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007255/0.3934, allocations: 0.6416 MB / 459 MB, free: 45.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.3935, allocations: 38.3 kB / 459 MB, free: 45.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.3937, allocations: 367.2 kB / 459.4 MB, free: 45.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3938, allocations: 173.7 kB / 459.5 MB, free: 45.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.3939, allocations: 14.03 kB / 459.5 MB, free: 45.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.394, allocations: 338.2 kB / 459.9 MB, free: 44.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.3945, allocations: 284.2 kB / 460.1 MB, free: 44.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.3951, allocations: 445.5 kB / 460.6 MB, free: 44.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.3957, allocations: 330.4 kB / 460.9 MB, free: 44.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3957, allocations: 2.812 kB / 460.9 MB, free: 44.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001396/0.3971, allocations: 0.838 MB / 461.7 MB, free: 44.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.3972, allocations: 215.8 kB / 462 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3973, allocations: 5.781 kB / 462 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.3973, allocations: 12.12 kB / 462 MB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.3979, allocations: 164 kB / 462.1 MB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.3979, allocations: 12.5 kB / 462.1 MB, free: 44.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.3984, allocations: 96.08 kB / 462.2 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.3985, allocations: 21 kB / 462.3 MB, free: 44.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.645e-06/0.3985, allocations: 5.5 kB / 462.3 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001242/0.3997, allocations: 0.7178 MB / 463 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3997, allocations: 8.078 kB / 463 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.3997, allocations: 8.5 kB / 463 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.4003, allocations: 150.1 kB / 463.1 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.4003, allocations: 18.22 kB / 463.2 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.4008, allocations: 82.75 kB / 463.2 MB, free: 44.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.4008, allocations: 25.38 kB / 463.3 MB, free: 44.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003577/0.4012, allocations: 286.2 kB / 463.5 MB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.4013, allocations: 82.5 kB / 463.6 MB, free: 43.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.4016, allocations: 90.12 kB / 463.7 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.4016, allocations: 5.375 kB / 463.7 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4016, allocations: 2.625 kB / 463.7 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4016, allocations: 3.422 kB / 463.7 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.4028, allocations: 0.8698 MB / 464.6 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4028, allocations: 0 / 464.6 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.4034, allocations: 113.9 kB / 464.7 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4034, allocations: 3.312 kB / 464.7 MB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.4034, allocations: 23.7 kB / 464.7 MB, free: 43.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4034, allocations: 0 / 464.7 MB, free: 43.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4034, allocations: 3.219 kB / 464.7 MB, free: 43.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4052, allocations: 1.202 MB / 465.9 MB, free: 43.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.4054, allocations: 199.5 kB / 466.1 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.4055, allocations: 14.59 kB / 466.1 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.406, allocations: 65.12 kB / 466.2 MB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.4061, allocations: 32.44 kB / 466.2 MB, free: 42.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.4061, allocations: 16.39 kB / 466.3 MB, free: 42.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005989/0.4067, allocations: 460.2 kB / 466.7 MB, free: 42.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4067, allocations: 0 / 466.7 MB, free: 42.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007849/0.4075, allocations: 201.6 kB / 466.9 MB, free: 42.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002087/0.4096, allocations: 1.755 MB / 468.7 MB, free: 41.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.4115, allocations: 1.017 MB / 469.7 MB, free: 41.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4116, allocations: 0 / 469.7 MB, free: 41.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.4121, allocations: 310.1 kB / 470 MB, free: 41.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4131, allocations: 172.1 kB / 470.1 MB, free: 41.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/0.4204, allocations: 4.903 MB / 475.1 MB, free: 39.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.4208, allocations: 0.9456 MB / 476 MB, free: 38.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006037/0.4215, allocations: 153.4 kB / 476.1 MB, free: 38.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.4218, allocations: 260 kB / 476.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4218, allocations: 0 / 476.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.46, allocations: 13.43 MB / 489.8 MB, free: 37.24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.4603, allocations: 194.3 kB / 490 MB, free: 36.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.621, allocations: 0 / 490 MB, free: 36.99 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat