Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002276/0.002276, allocations: 213.8 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 207.7 MB / 233.8 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2464/0.2464, allocations: 44.26 MB / 330.3 MB, free: 9.418 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 72.47 kB / 468 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1367, allocations: 61.05 MB / 0.5166 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00175/0.1384, allocations: 0.5026 MB / 0.5171 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1415, allocations: 2.062 MB / 0.5191 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.1415, allocations: 0 / 0.5191 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.1415, allocations: 0 / 0.5191 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.1415, allocations: 4 kB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.1436, allocations: 0.7638 MB / 0.5199 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.742e-05/0.1436, allocations: 4 kB / 0.5199 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.1437, allocations: 4 kB / 0.5199 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.1437, allocations: 4 kB / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.675e-05/0.1437, allocations: 0 / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-06/0.1437, allocations: 0 / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.146, allocations: 1.541 MB / 0.5214 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.146, allocations: 3.938 kB / 0.5214 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.146, allocations: 0 / 0.5214 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.1478, allocations: 1.548 MB / 0.5229 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1478, allocations: 8 kB / 0.5229 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1478, allocations: 0 / 0.5229 GB, free: 240 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1478, allocations: 0 / 0.5229 GB, free: 240 kB / 398.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.0007336/0.1485, allocations: 347.3 kB / 0.5232 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.1486, allocations: 8.031 kB / 0.5233 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1486, allocations: 0.9375 kB / 0.5233 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1488, allocations: 110.5 kB / 0.5234 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1488, allocations: 384 / 0.5234 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.1488, allocations: 8.109 kB / 0.5234 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.149, allocations: 55.41 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.149, allocations: 4 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.149, allocations: 0 / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.149, allocations: 0 / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.832e-05/0.149, allocations: 33.64 kB / 0.5235 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.1492, allocations: 97.33 kB / 0.5236 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.1493, allocations: 48.3 kB / 0.5236 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.1493, allocations: 30.56 kB / 0.5236 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.1493, allocations: 0 / 0.5236 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/0.1494, allocations: 64.27 kB / 0.5237 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1494, allocations: 0 / 0.5237 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002746/0.1497, allocations: 126.7 kB / 0.5238 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.1497, allocations: 77.11 kB / 0.5239 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.1498, allocations: 89.86 kB / 0.524 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1498, allocations: 25.7 kB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.1499, allocations: 80.14 kB / 0.5241 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.1499, allocations: 0 / 0.5241 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.1499, allocations: 17.72 kB / 0.5241 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1501, allocations: 310.8 kB / 0.5244 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.899e-05/0.1501, allocations: 29.7 kB / 0.5244 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.1502, allocations: 29.69 kB / 0.5244 GB, free: 14.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.1502, allocations: 64.45 kB / 0.5245 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1502, allocations: 0 / 0.5245 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.958e-05/0.1503, allocations: 100.9 kB / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.1504, allocations: 39.5 kB / 0.5246 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1504, allocations: 0 / 0.5246 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1504, allocations: 0 / 0.5246 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1504, allocations: 0 / 0.5246 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1504, allocations: 0 / 0.5246 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.1504, allocations: 4 kB / 0.5246 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1504, allocations: 0 / 0.5246 GB, free: 14.2 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.907e-05/0.1505, allocations: 135.6 kB / 0.5248 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-06/0.1505, allocations: 7.938 kB / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.107e-06/0.1505, allocations: 3 kB / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1505, allocations: 3.984 kB / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1505, allocations: 0 / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1505, allocations: 4 kB / 0.5248 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.006e-05/0.1506, allocations: 101.3 kB / 0.5249 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1506, allocations: 0 / 0.5249 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.1506, allocations: 0 / 0.5249 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1506, allocations: 0 / 0.5249 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1506, allocations: 3.938 kB / 0.5249 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1506, allocations: 4 kB / 0.5249 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1506, allocations: 0 / 0.5249 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1507, allocations: 120.5 kB / 0.525 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.1508, allocations: 4 kB / 0.525 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.1508, allocations: 3.938 kB / 0.525 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-06/0.1508, allocations: 0 / 0.525 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1508, allocations: 3.984 kB / 0.525 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1508, allocations: 0 / 0.525 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.634e-05/0.1508, allocations: 79.28 kB / 0.5251 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1508, allocations: 0 / 0.5251 GB, free: 13.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007143/0.1515, allocations: 275.6 kB / 0.5254 GB, free: 13.39 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/0.1528, allocations: 414.3 kB / 0.5257 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.1529, allocations: 122.7 kB / 0.5259 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1529, allocations: 0 / 0.5259 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.153, allocations: 81.11 kB / 0.5259 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1531, allocations: 1.875 kB / 0.5259 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.1533, allocations: 114.6 kB / 0.5261 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.92e-05/0.1534, allocations: 59.34 kB / 0.5261 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.859e-06/0.1534, allocations: 0 / 0.5261 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.1534, allocations: 11.56 kB / 0.5261 GB, free: 12.5 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1534, allocations: 4 kB / 0.5261 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Templates: time 0.01339/0.1668, allocations: 7.282 MB / 0.5332 GB, free: 5.203 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.7836456168442965] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.17564781568944454 0.40949917399999997 0.258809785 Calling exit ...