Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001635/0.001635, allocations: 108.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 212 kB / 23.54 MB, free: 5.387 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2226/0.2226, allocations: 46.87 MB / 359.9 MB, free: 5.008 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 79.86 kB / 0.4949 GB, free: 8.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2805, allocations: 65.98 MB / 0.5594 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001531/0.282, allocations: 0.4931 MB / 0.5599 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.2842, allocations: 1.571 MB / 0.5614 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.906e-05/0.2842, allocations: 0 / 0.5614 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.2842, allocations: 0 / 0.5614 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.839e-06/0.2842, allocations: 3.938 kB / 0.5614 GB, free: 3.109 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.2851, allocations: 223.2 kB / 0.5616 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.155e-05/0.2851, allocations: 0 / 0.5616 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.2851, allocations: 12 kB / 0.5616 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.2852, allocations: 3.984 kB / 0.5616 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.288e-05/0.2852, allocations: 0 / 0.5616 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-06/0.2852, allocations: 3.938 kB / 0.5616 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.2862, allocations: 0.7454 MB / 0.5624 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.2862, allocations: 0 / 0.5624 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.2862, allocations: 0 / 0.5624 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007517/0.287, allocations: 0.6419 MB / 0.563 GB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.287, allocations: 0 / 0.563 GB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.287, allocations: 0 / 0.563 GB, free: 1.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.287, allocations: 0 / 0.563 GB, free: 1.492 MB / 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.0004638/0.2874, allocations: 372.9 kB / 0.5633 GB, free: 1.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2875, allocations: 8.031 kB / 0.5633 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.2875, allocations: 8.875 kB / 0.5634 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2876, allocations: 164.4 kB / 0.5635 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2876, allocations: 384 / 0.5635 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.2876, allocations: 4.375 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.15e-05/0.2877, allocations: 34.02 kB / 0.5635 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2877, allocations: 3.984 kB / 0.5636 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.2877, allocations: 4 kB / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2877, allocations: 0 / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.2877, allocations: 0 / 0.5636 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.2879, allocations: 149.7 kB / 0.5637 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.129e-05/0.2879, allocations: 18.52 kB / 0.5637 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.2879, allocations: 4.859 kB / 0.5637 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.2879, allocations: 4 kB / 0.5637 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.732e-05/0.288, allocations: 68.3 kB / 0.5638 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.288, allocations: 0 / 0.5638 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.2882, allocations: 63.39 kB / 0.5638 GB, free: 428 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.2882, allocations: 84.98 kB / 0.5639 GB, free: 324 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.2883, allocations: 93.81 kB / 0.564 GB, free: 220 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2883, allocations: 25.7 kB / 0.564 GB, free: 188 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.2883, allocations: 80.14 kB / 0.5641 GB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.2883, allocations: 4 kB / 0.5641 GB, free: 100 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.2884, allocations: 17.84 kB / 0.5641 GB, free: 76 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2885, allocations: 314.8 kB / 0.5644 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.2885, allocations: 0 / 0.5644 GB, free: 15.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-06/0.2885, allocations: 0 / 0.5644 GB, free: 15.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.2886, allocations: 64.25 kB / 0.5645 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2886, allocations: 0 / 0.5645 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.368e-05/0.2887, allocations: 63.41 kB / 0.5646 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.2887, allocations: 33.64 kB / 0.5646 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2887, allocations: 12.03 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2887, allocations: 3.938 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.12e-07/0.2887, allocations: 0 / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2887, allocations: 0 / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.2887, allocations: 0 / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2887, allocations: 3.984 kB / 0.5646 GB, free: 15.55 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 8.63e-05/0.2888, allocations: 135.5 kB / 0.5647 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-06/0.2888, allocations: 3.938 kB / 0.5647 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-06/0.2889, allocations: 3.125 kB / 0.5648 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2889, allocations: 4 kB / 0.5648 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2889, allocations: 0 / 0.5648 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2889, allocations: 0 / 0.5648 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.289, allocations: 157.7 kB / 0.5649 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.289, allocations: 0 / 0.5649 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.289, allocations: 0 / 0.5649 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.289, allocations: 3.938 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.289, allocations: 4 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.289, allocations: 0 / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.289, allocations: 4 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.2891, allocations: 94.77 kB / 0.565 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.2891, allocations: 77.11 kB / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2891, allocations: 7.938 kB / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-06/0.2891, allocations: 0 / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.2892, allocations: 0 / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2892, allocations: 0 / 0.5651 GB, free: 14.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.183e-05/0.2892, allocations: 76.3 kB / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2892, allocations: 0 / 0.5652 GB, free: 14.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004198/0.2896, allocations: 123.9 kB / 0.5653 GB, free: 14.76 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.0007412/0.2904, allocations: 181.1 kB / 0.5655 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.591e-05/0.2905, allocations: 59.39 kB / 0.5655 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2905, allocations: 3.938 kB / 0.5655 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.2905, allocations: 55.41 kB / 0.5656 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.2906, allocations: 0 / 0.5656 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.2908, allocations: 110.7 kB / 0.5657 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.2911, allocations: 0.6768 MB / 0.5663 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.2911, allocations: 7.438 kB / 0.5663 GB, free: 13.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2911, allocations: 4.125 kB / 0.5663 GB, free: 13.58 MB / 414.1 MB Notification: Performance of Templates: time 0.004989/0.2961, allocations: 2.695 MB / 0.569 GB, free: 10.88 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches