Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",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.001238/0.001238, allocations: 95.89 kB / 15.68 MB, free: 488 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.001839/0.00184, allocations: 179.2 kB / 16.57 MB, free: 6.844 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.476/1.476, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3024/0.3024, allocations: 43.54 MB / 314.5 MB, free: 8.812 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.0004569/0.0004569, allocations: 20 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09919/0.09965, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00147/0.1012, allocations: 1.258 MB / 444.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000167/0.1013, allocations: 59.78 kB / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.1014, allocations: 0 / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.1014, allocations: 3.984 kB / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.1015, allocations: 3.984 kB / 444.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.991e-05/0.1016, allocations: 19.92 kB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.1017, allocations: 27.97 kB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.036e-05/0.1018, allocations: 4.281 kB / 444.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.1018, allocations: 11.94 kB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.1019, allocations: 15.91 kB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1019, allocations: 4 kB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.1019, allocations: 0 / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.1019, allocations: 0 / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.1019, allocations: 37.64 kB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 4.867e-05/0.102, allocations: 23.89 kB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.102, allocations: 4 kB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.102, allocations: 0 / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.102, allocations: 0 / 444.3 MB, free: 11.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003493/0.1024, allocations: 339.2 kB / 444.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1024, allocations: 12.03 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.1025, allocations: 34.56 kB / 444.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.1025, allocations: 7.953 kB / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1026, allocations: 178.9 kB / 444.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1027, allocations: 8 kB / 444.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1027, allocations: 7.938 kB / 444.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1028, allocations: 72.25 kB / 445 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1028, allocations: 0 / 445 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.1028, allocations: 0 / 445 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1029, allocations: 0 / 445 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.103, allocations: 31.92 kB / 445 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.1034, allocations: 445.3 kB / 445.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1036, allocations: 54.44 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.1036, allocations: 4 kB / 445.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1036, allocations: 30.56 kB / 445.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.1036, allocations: 0 / 445.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004136/0.104, allocations: 129.4 kB / 445.6 MB, free: 9.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1041, allocations: 51.41 kB / 445.7 MB, free: 9.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.1042, allocations: 118 kB / 445.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1042, allocations: 25.7 kB / 445.8 MB, free: 9.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.1042, allocations: 99.97 kB / 445.9 MB, free: 9.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.1042, allocations: 15.81 kB / 445.9 MB, free: 9.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.1043, allocations: 0 / 445.9 MB, free: 9.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.1043, allocations: 318.8 kB / 446.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.1044, allocations: 15.98 kB / 446.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.1045, allocations: 43.42 kB / 446.3 MB, free: 9.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/0.1045, allocations: 27.92 kB / 446.3 MB, free: 9.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1045, allocations: 0 / 446.3 MB, free: 9.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001411/0.1047, allocations: 89.52 kB / 446.4 MB, free: 9.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1047, allocations: 4 kB / 446.4 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1047, allocations: 0 / 446.4 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1047, allocations: 7.953 kB / 446.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.1048, allocations: 8.094 kB / 446.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1048, allocations: 8 kB / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.1048, allocations: 7.984 kB / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.1049, allocations: 0 / 446.5 MB, free: 9.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.313e-05/0.1049, allocations: 121.8 kB / 446.6 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.105, allocations: 4 kB / 446.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.105, allocations: 7.906 kB / 446.6 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.105, allocations: 0 / 446.6 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.105, allocations: 3.953 kB / 446.6 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.105, allocations: 4 kB / 446.6 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.1052, allocations: 173.6 kB / 446.8 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1052, allocations: 4 kB / 446.8 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/0.1053, allocations: 11.98 kB / 446.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1053, allocations: 0 / 446.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1053, allocations: 0 / 446.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1053, allocations: 7.938 kB / 446.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1053, allocations: 384 / 446.8 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1055, allocations: 191.3 kB / 447 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.1055, allocations: 77.11 kB / 447.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1056, allocations: 4 kB / 447.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/0.1056, allocations: 7.969 kB / 447.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.1057, allocations: 0 / 447.1 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1057, allocations: 7.984 kB / 447.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.901e-05/0.1057, allocations: 95.3 kB / 447.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1057, allocations: 0 / 447.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002052/0.1059, allocations: 4 kB / 447.2 MB, free: 8.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (4): * Single equations (assignments): 4 * 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.0004184/0.1064, allocations: 0.7128 MB / 447.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.1065, allocations: 43.97 kB / 447.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1065, allocations: 0 / 447.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.1065, allocations: 16.08 kB / 447.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.1067, allocations: 16.02 kB / 448 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008885/0.1076, allocations: 0.9546 MB / 448.9 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.1079, allocations: 0.6887 MB / 449.6 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.563e-05/0.1079, allocations: 8.172 kB / 449.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1079, allocations: 15.5 kB / 449.6 MB, free: 5.719 MB / 382.1 MB Notification: Performance of SimCode: time 8.626e-06/0.108, allocations: 0 / 449.6 MB, free: 5.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06951/0.1775, allocations: 1.303 MB / 450.9 MB, free: 4.445 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/0.1778, allocations: 181.7 kB / 451.1 MB, free: 4.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/1.971, allocations: 0 / 451.1 MB, free: 4.199 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat