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.0008329/0.000833, allocations: 97.25 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.0008828/0.0008828, allocations: 167.9 kB / 16.58 MB, free: 6.059 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.597/1.597, allocations: 205.4 MB / 222.8 MB, free: 5.516 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.4084/0.4084, allocations: 43.54 MB / 314.6 MB, free: 8.824 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.0004918/0.000492, allocations: 20 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001751/0.1166, allocations: 1.261 MB / 444.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002094/0.1169, allocations: 55.88 kB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.117, allocations: 3.938 kB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.3e-05/0.1171, allocations: 0 / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.888e-05/0.1171, allocations: 3.938 kB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.1172, allocations: 15.98 kB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.411e-05/0.1173, allocations: 31.86 kB / 444.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.67e-05/0.1174, allocations: 16.27 kB / 444.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.971e-05/0.1175, allocations: 15.88 kB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.1175, allocations: 7.922 kB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1176, allocations: 4 kB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.1176, allocations: 0 / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.1176, allocations: 4 kB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1176, allocations: 29.7 kB / 444.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.371e-05/0.1177, allocations: 23.89 kB / 444.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.1177, allocations: 7.938 kB / 444.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1177, allocations: 4 kB / 444.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1177, allocations: 0 / 444.3 MB, free: 11.46 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.0003738/0.1181, allocations: 343.2 kB / 444.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1182, allocations: 16.02 kB / 444.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.1182, allocations: 30.56 kB / 444.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.1182, allocations: 7.953 kB / 444.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1184, allocations: 186.9 kB / 444.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1184, allocations: 4 kB / 444.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1185, allocations: 4 kB / 444.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1186, allocations: 72.2 kB / 445 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1186, allocations: 0 / 445 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.1186, allocations: 3.938 kB / 445 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1187, allocations: 0 / 445 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.1187, allocations: 35.97 kB / 445 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.1192, allocations: 449.2 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1194, allocations: 50.56 kB / 445.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.1194, allocations: 16.86 kB / 445.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.1194, allocations: 3.938 kB / 445.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1195, allocations: 34.64 kB / 445.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1195, allocations: 0 / 445.6 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004282/0.1199, allocations: 117.4 kB / 445.7 MB, free: 9.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1199, allocations: 55.34 kB / 445.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.12, allocations: 114 kB / 445.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.12, allocations: 25.7 kB / 445.9 MB, free: 9.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.1201, allocations: 100.3 kB / 446 MB, free: 9.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.1201, allocations: 11.81 kB / 446 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1201, allocations: 4 kB / 446 MB, free: 9.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.1202, allocations: 318.8 kB / 446.3 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.1203, allocations: 15.94 kB / 446.3 MB, free: 9.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.398e-05/0.1203, allocations: 39.42 kB / 446.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.1204, allocations: 27.98 kB / 446.4 MB, free: 9.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1204, allocations: 4 kB / 446.4 MB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000149/0.1206, allocations: 85.45 kB / 446.5 MB, free: 9.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.1206, allocations: 8 kB / 446.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.1206, allocations: 4 kB / 446.5 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1206, allocations: 4.047 kB / 446.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.1207, allocations: 16 kB / 446.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1207, allocations: 3.984 kB / 446.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.1208, allocations: 8 kB / 446.5 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1208, allocations: 4 kB / 446.5 MB, free: 9.023 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.57e-05/0.1209, allocations: 113.8 kB / 446.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1209, allocations: 3.938 kB / 446.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.1209, allocations: 4.281 kB / 446.6 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1209, allocations: 11.95 kB / 446.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1209, allocations: 0 / 446.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1209, allocations: 0 / 446.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1211, allocations: 173.6 kB / 446.8 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1211, allocations: 3.984 kB / 446.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.1212, allocations: 16 kB / 446.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1212, allocations: 0 / 446.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1212, allocations: 0 / 446.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1212, allocations: 0 / 446.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1212, allocations: 4.109 kB / 446.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.1214, allocations: 183.4 kB / 447 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.1215, allocations: 81.14 kB / 447.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1215, allocations: 0 / 447.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/0.1216, allocations: 4 kB / 447.1 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.1216, allocations: 11.92 kB / 447.1 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1216, allocations: 8.016 kB / 447.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.804e-05/0.1217, allocations: 87.28 kB / 447.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1217, allocations: 0 / 447.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.1219, allocations: 8.281 kB / 447.2 MB, free: 8.23 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.0004601/0.1224, allocations: 0.7124 MB / 447.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.1225, allocations: 47.91 kB / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1225, allocations: 0 / 448 MB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.1226, allocations: 12 kB / 448 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.1229, allocations: 20.17 kB / 448 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008506/0.1237, allocations: 0.5092 MB / 448.5 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.124, allocations: 0.6848 MB / 449.2 MB, free: 6.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.049e-05/0.124, allocations: 4.188 kB / 449.2 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.1241, allocations: 19.48 kB / 449.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1241, allocations: 0 / 449.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.1346, allocations: 1.32 MB / 450.5 MB, free: 4.828 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.1348, allocations: 188.6 kB / 450.7 MB, free: 4.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.812, allocations: 4 kB / 450.7 MB, free: 4.574 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