Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001529, allocations: 197.4 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.5 MB / 243.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007438/0.0007438, allocations: 92.23 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3084/0.3084, allocations: 44.83 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002768, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2558, allocations: 62.96 MB / 0.516 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.002419/0.2582, allocations: 2.83 MB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.2601, allocations: 1.505 MB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.2603, allocations: 22.28 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.2607, allocations: 101.2 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.261, allocations: 154.6 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.2618, allocations: 435 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005546/0.2623, allocations: 0.7712 MB / 0.5216 GB, free: 33.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.2626, allocations: 227.3 kB / 0.5218 GB, free: 33.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.2629, allocations: 285.1 kB / 0.5221 GB, free: 33.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.2632, allocations: 326.8 kB / 0.5224 GB, free: 32.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.212e-05/0.2633, allocations: 20.56 kB / 0.5224 GB, free: 32.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.2634, allocations: 22.97 kB / 0.5225 GB, free: 32.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.2635, allocations: 157.5 kB / 0.5226 GB, free: 32.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2637, allocations: 295.6 kB / 0.5229 GB, free: 32.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.264, allocations: 0.533 MB / 0.5234 GB, free: 32.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.264, allocations: 0 / 0.5234 GB, free: 32.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.264, allocations: 0 / 0.5234 GB, free: 32.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.2641, allocations: 0 / 0.5234 GB, free: 32.52 MB / 378.7 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.001673/0.2657, allocations: 1.047 MB / 0.5244 GB, free: 31.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2658, allocations: 10.62 kB / 0.5244 GB, free: 31.83 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.254e-05/0.2658, allocations: 81.3 kB / 0.5245 GB, free: 31.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.266, allocations: 108.9 kB / 0.5246 GB, free: 31.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.2667, allocations: 0.555 MB / 0.5252 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.2667, allocations: 39.47 kB / 0.5252 GB, free: 31.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.2668, allocations: 54.34 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/0.2677, allocations: 0.631 MB / 0.5259 GB, free: 30.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2678, allocations: 0 / 0.5259 GB, free: 30.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.2678, allocations: 17.28 kB / 0.5259 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2678, allocations: 12.91 kB / 0.5259 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.2688, allocations: 0.4893 MB / 0.5264 GB, free: 30.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.2714, allocations: 2.658 MB / 0.529 GB, free: 28.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009232/0.2724, allocations: 0.5791 MB / 0.5295 GB, free: 28.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.2729, allocations: 277.5 kB / 0.5298 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.2729, allocations: 5.859 kB / 0.5298 GB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.273, allocations: 41.56 kB / 0.5299 GB, free: 28.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.273, allocations: 0 / 0.5299 GB, free: 28.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002075/0.275, allocations: 1.213 MB / 0.531 GB, free: 28.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.2751, allocations: 139.6 kB / 0.5312 GB, free: 27.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.2757, allocations: 0.6449 MB / 0.5318 GB, free: 27.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.2758, allocations: 36.73 kB / 0.5318 GB, free: 27.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.2759, allocations: 356.5 kB / 0.5322 GB, free: 27.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/0.276, allocations: 179 kB / 0.5323 GB, free: 27.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.2761, allocations: 8 kB / 0.5324 GB, free: 27.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.2761, allocations: 337.6 kB / 0.5327 GB, free: 26.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/0.2767, allocations: 277.9 kB / 0.5329 GB, free: 26.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.2773, allocations: 438.1 kB / 0.5334 GB, free: 26.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.2784, allocations: 0.7183 MB / 0.5341 GB, free: 26.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2784, allocations: 2.625 kB / 0.5341 GB, free: 26.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00143/0.2799, allocations: 0.8511 MB / 0.5349 GB, free: 25.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/0.2799, allocations: 221.1 kB / 0.5351 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2799, allocations: 4.812 kB / 0.5351 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.2801, allocations: 64.19 kB / 0.5352 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/0.2809, allocations: 202.2 kB / 0.5354 GB, free: 25.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008691/0.2818, allocations: 1.498 MB / 0.5368 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.2823, allocations: 95.31 kB / 0.5369 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.2823, allocations: 22.38 kB / 0.5369 GB, free: 24.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-06/0.2824, allocations: 4.969 kB / 0.5369 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001231/0.2836, allocations: 0.7379 MB / 0.5377 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2836, allocations: 5.406 kB / 0.5377 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.2837, allocations: 64.31 kB / 0.5377 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.2845, allocations: 200.3 kB / 0.5379 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008074/0.2853, allocations: 1.497 MB / 0.5394 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.2857, allocations: 88.16 kB / 0.5395 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.2858, allocations: 22.53 kB / 0.5395 GB, free: 22.41 MB / 378.7 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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.286, allocations: 292.1 kB / 0.5398 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2861, allocations: 79.25 kB / 0.5398 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.2863, allocations: 91.22 kB / 0.5399 GB, free: 22.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2863, allocations: 4.75 kB / 0.5399 GB, free: 22.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2863, allocations: 5.281 kB / 0.5399 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2863, allocations: 4.609 kB / 0.5399 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.2873, allocations: 0.8647 MB / 0.5408 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2874, allocations: 1.156 kB / 0.5408 GB, free: 21.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.288, allocations: 112.7 kB / 0.5409 GB, free: 21.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.288, allocations: 2.312 kB / 0.5409 GB, free: 21.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.2881, allocations: 18.19 kB / 0.5409 GB, free: 21.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2881, allocations: 9.969 kB / 0.5409 GB, free: 21.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2881, allocations: 1.094 kB / 0.5409 GB, free: 21.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.29, allocations: 1.198 MB / 0.5421 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.2902, allocations: 189.8 kB / 0.5423 GB, free: 20.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.2903, allocations: 16.12 kB / 0.5423 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.2908, allocations: 69 kB / 0.5424 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2909, allocations: 35.16 kB / 0.5424 GB, free: 20.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.2909, allocations: 13.97 kB / 0.5424 GB, free: 20.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005579/0.2915, allocations: 452.6 kB / 0.5428 GB, free: 20.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2915, allocations: 0 / 0.5428 GB, free: 20.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006937/0.2922, allocations: 197.4 kB / 0.543 GB, free: 20.54 MB / 378.7 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.002051/0.2943, allocations: 1.753 MB / 0.5447 GB, free: 19.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.2966, allocations: 1.253 MB / 0.546 GB, free: 18.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2966, allocations: 0 / 0.546 GB, free: 18.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.2972, allocations: 305.9 kB / 0.5463 GB, free: 18.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.2982, allocations: 170.7 kB / 0.5464 GB, free: 18.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/0.3053, allocations: 4.937 MB / 0.5512 GB, free: 16.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3057, allocations: 0.9521 MB / 0.5522 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.3061, allocations: 260.4 kB / 0.5524 GB, free: 15.39 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3061, allocations: 1.031 kB / 0.5524 GB, free: 15.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.346/3.652, allocations: 11.38 MB / 0.5635 GB, free: 7.496 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches