Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState",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.0007792/0.0007789, allocations: 97.17 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.0008567/0.0008567, allocations: 174.5 kB / 16.58 MB, free: 5.934 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.4/1.4, allocations: 205.4 MB / 222.7 MB, free: 5.602 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.3241/0.3241, allocations: 43.54 MB / 314.6 MB, free: 9.008 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.0004966/0.0004967, allocations: 12 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1059, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003104/0.109, allocations: 2.844 MB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.1114, allocations: 1.513 MB / 447.2 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.1117, allocations: 19.88 kB / 447.2 MB, free: 8.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.1121, allocations: 107.2 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.1125, allocations: 155 kB / 447.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008825/0.1133, allocations: 435.2 kB / 447.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008452/0.1142, allocations: 0.7755 MB / 448.7 MB, free: 7.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.1145, allocations: 177.2 kB / 448.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.1149, allocations: 298.5 kB / 449.2 MB, free: 6.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.1153, allocations: 322.3 kB / 449.5 MB, free: 6.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.1153, allocations: 20 kB / 449.5 MB, free: 6.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.76e-05/0.1154, allocations: 24 kB / 449.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1156, allocations: 155.3 kB / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1157, allocations: 137.3 kB / 449.8 MB, free: 6.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.1162, allocations: 0.5222 MB / 450.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1162, allocations: 4 kB / 450.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1162, allocations: 0 / 450.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1162, allocations: 0 / 450.3 MB, free: 5.664 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.00184/0.1181, allocations: 1.063 MB / 451.4 MB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1181, allocations: 8.031 kB / 451.4 MB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.136e-05/0.1182, allocations: 86.52 kB / 451.5 MB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.1183, allocations: 90.92 kB / 451.6 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.1191, allocations: 0.5421 MB / 452.1 MB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.1191, allocations: 37 kB / 452.2 MB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/0.1192, allocations: 52 kB / 452.2 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.1202, allocations: 0.629 MB / 452.8 MB, free: 3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1203, allocations: 7.906 kB / 452.8 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.1203, allocations: 19.98 kB / 452.9 MB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1203, allocations: 15.95 kB / 452.9 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009631/0.1213, allocations: 0.4939 MB / 453.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2037/0.325, allocations: 2.634 MB / 456 MB, free: 45.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.3262, allocations: 0.5799 MB / 456.6 MB, free: 45.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.3266, allocations: 274.8 kB / 456.9 MB, free: 45.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.3267, allocations: 5.594 kB / 456.9 MB, free: 45.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3267, allocations: 41.12 kB / 456.9 MB, free: 45.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/0.3267, allocations: 3.906 kB / 456.9 MB, free: 45.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002388/0.3291, allocations: 1.206 MB / 458.1 MB, free: 45.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.3292, allocations: 137.1 kB / 458.2 MB, free: 44.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.3299, allocations: 0.6507 MB / 458.9 MB, free: 44.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.33, allocations: 41.17 kB / 458.9 MB, free: 44.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.3302, allocations: 361.4 kB / 459.3 MB, free: 44.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3303, allocations: 177.7 kB / 459.5 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.3304, allocations: 12.94 kB / 459.5 MB, free: 44.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.3304, allocations: 328.1 kB / 459.8 MB, free: 44.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.3309, allocations: 279.2 kB / 460.1 MB, free: 44.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.3316, allocations: 441.6 kB / 460.5 MB, free: 44.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.3321, allocations: 325.7 kB / 460.8 MB, free: 44.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3321, allocations: 4.75 kB / 460.8 MB, free: 44.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001408/0.3335, allocations: 0.8542 MB / 461.7 MB, free: 44.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3337, allocations: 222.5 kB / 461.9 MB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.3337, allocations: 6.219 kB / 461.9 MB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.3339, allocations: 63.14 kB / 462 MB, free: 43.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/0.3347, allocations: 204.9 kB / 462.2 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.3357, allocations: 1.5 MB / 463.7 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.3362, allocations: 96.42 kB / 463.8 MB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.3363, allocations: 26.06 kB / 463.8 MB, free: 42.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/0.3363, allocations: 5.109 kB / 463.8 MB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001253/0.3376, allocations: 0.7349 MB / 464.5 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3376, allocations: 5.75 kB / 464.5 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.3377, allocations: 56.64 kB / 464.6 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.3384, allocations: 209.2 kB / 464.8 MB, free: 42.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009036/0.3393, allocations: 1.496 MB / 466.3 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.3399, allocations: 83.17 kB / 466.4 MB, free: 41.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.3399, allocations: 23.72 kB / 466.4 MB, free: 41.09 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 (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.0003327/0.3403, allocations: 284.8 kB / 466.7 MB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3404, allocations: 78.2 kB / 466.7 MB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.3406, allocations: 90.48 kB / 466.8 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3406, allocations: 9.859 kB / 466.8 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3406, allocations: 0 / 466.8 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3406, allocations: 3.344 kB / 466.8 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.3417, allocations: 0.8677 MB / 467.7 MB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3417, allocations: 0.8125 kB / 467.7 MB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.3423, allocations: 116 kB / 467.8 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3423, allocations: 3.125 kB / 467.8 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.3424, allocations: 16.27 kB / 467.8 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3424, allocations: 3.188 kB / 467.8 MB, free: 40.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3424, allocations: 4.453 kB / 467.8 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.3441, allocations: 1.202 MB / 469.1 MB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.3443, allocations: 192.2 kB / 469.2 MB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.3444, allocations: 19.59 kB / 469.3 MB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.3448, allocations: 64.38 kB / 469.3 MB, free: 40.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.671e-05/0.3449, allocations: 40.41 kB / 469.4 MB, free: 40 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.345, allocations: 12.59 kB / 469.4 MB, free: 40 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005113/0.3455, allocations: 461.7 kB / 469.8 MB, free: 39.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3455, allocations: 0 / 469.8 MB, free: 39.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007776/0.3463, allocations: 196.5 kB / 470 MB, free: 39.91 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.001842/0.3481, allocations: 1.762 MB / 471.8 MB, free: 38.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.3503, allocations: 1.248 MB / 473 MB, free: 38.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3503, allocations: 0 / 473 MB, free: 38.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005266/0.3508, allocations: 306.6 kB / 473.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009813/0.3518, allocations: 179.3 kB / 473.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/0.3591, allocations: 4.919 MB / 478.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.3597, allocations: 0.9612 MB / 479.4 MB, free: 35.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006485/0.3603, allocations: 136.8 kB / 479.5 MB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.3607, allocations: 257.5 kB / 479.8 MB, free: 34.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3608, allocations: 0 / 479.8 MB, free: 34.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.3956, allocations: 14.27 MB / 494 MB, free: 33.79 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.3958, allocations: 204.4 kB / 494.2 MB, free: 33.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/2.573, allocations: 1.125 kB / 494.2 MB, free: 33.54 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat