Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",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.0008917/0.0008917, allocations: 96.7 kB / 15.7 MB, free: 460 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.001079/0.001079, allocations: 174.5 kB / 16.58 MB, free: 6.863 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.63/1.63, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3266/0.3266, allocations: 43.54 MB / 314.6 MB, free: 8.984 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.0004623/0.0004623, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1028, allocations: 58.87 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0004903/0.1034, allocations: 228.4 kB / 443.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.105, allocations: 1.487 MB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.433e-05/0.105, allocations: 0 / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.105, allocations: 4 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-06/0.105, allocations: 3.938 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.1057, allocations: 199.6 kB / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.684e-05/0.1057, allocations: 0 / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.1057, allocations: 0 / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.1058, allocations: 0 / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.24e-05/0.1058, allocations: 0 / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.248e-06/0.1058, allocations: 0 / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007459/0.1065, allocations: 0.6752 MB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-06/0.1066, allocations: 0 / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.1066, allocations: 33.58 kB / 445.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.1069, allocations: 447.3 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1069, allocations: 0 / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1069, allocations: 4 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.107, allocations: 0 / 445.9 MB, free: 10.1 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003491/0.1073, allocations: 365.1 kB / 446.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1074, allocations: 11.97 kB / 446.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.361e-05/0.1074, allocations: 30.56 kB / 446.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.042e-05/0.1074, allocations: 15.86 kB / 446.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.719e-05/0.1075, allocations: 163.1 kB / 446.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.1075, allocations: 0 / 446.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.1075, allocations: 0 / 446.5 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.86e-05/0.1076, allocations: 29.7 kB / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.1076, allocations: 0 / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-06/0.1076, allocations: 0 / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1076, allocations: 0 / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.1076, allocations: 7.891 kB / 446.5 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.1077, allocations: 153.7 kB / 446.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.732e-05/0.1078, allocations: 18.58 kB / 446.7 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.067e-05/0.1078, allocations: 4.859 kB / 446.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-06/0.1078, allocations: 0 / 446.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1078, allocations: 60.33 kB / 446.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1078, allocations: 0 / 446.8 MB, free: 9.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.108, allocations: 71.45 kB / 446.8 MB, free: 8.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.108, allocations: 81.11 kB / 446.9 MB, free: 8.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.014e-05/0.1081, allocations: 89.86 kB / 447 MB, free: 8.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.1081, allocations: 25.7 kB / 447 MB, free: 8.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.1081, allocations: 80.14 kB / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.1081, allocations: 0 / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-06/0.1081, allocations: 0 / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.1082, allocations: 314.8 kB / 447.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-06/0.1082, allocations: 4 kB / 447.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/0.1082, allocations: 4 kB / 447.4 MB, free: 8.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.261e-05/0.1083, allocations: 29.7 kB / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1083, allocations: 0 / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.045e-05/0.1083, allocations: 67.33 kB / 447.5 MB, free: 8.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1084, allocations: 29.7 kB / 447.6 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.1084, allocations: 4 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.1084, allocations: 0 / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1084, allocations: 0 / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.1084, allocations: 0 / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.1084, allocations: 4.094 kB / 447.6 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.1084, allocations: 11.88 kB / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.755e-05/0.1085, allocations: 147.8 kB / 447.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.1085, allocations: 0 / 447.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.07e-05/0.1085, allocations: 11.11 kB / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.1086, allocations: 0 / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1086, allocations: 0 / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1086, allocations: 4 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.17e-05/0.1086, allocations: 149.6 kB / 447.9 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1087, allocations: 4 kB / 447.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1087, allocations: 0 / 447.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1087, allocations: 0 / 447.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1087, allocations: 0 / 447.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1087, allocations: 4 kB / 447.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1087, allocations: 0 / 447.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.468e-05/0.1088, allocations: 94.72 kB / 448 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.1088, allocations: 81.05 kB / 448.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.1088, allocations: 8.031 kB / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.1088, allocations: 0 / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.853e-05/0.1089, allocations: 3.984 kB / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.1089, allocations: 0 / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.267e-05/0.1089, allocations: 75.28 kB / 448.1 MB, free: 7.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1089, allocations: 0 / 448.1 MB, free: 7.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.1092, allocations: 124 kB / 448.3 MB, free: 7.391 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007677/0.11, allocations: 0.6881 MB / 449 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.184e-05/0.1101, allocations: 67.38 kB / 449 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1101, allocations: 0 / 449 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.1101, allocations: 55.41 kB / 449.1 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.1103, allocations: 3.984 kB / 449.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.1106, allocations: 128.3 kB / 449.2 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1108, allocations: 0.6692 MB / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.438e-06/0.1108, allocations: 0 / 449.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.375e-06/0.1108, allocations: 7.438 kB / 449.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1108, allocations: 4.125 kB / 449.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.1252, allocations: 4.732 MB / 454.6 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.1254, allocations: 208.4 kB / 454.8 MB, free: 0.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.026, allocations: 0 / 454.8 MB, free: 0.707 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) Environment - environmentSimulation: