Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 158.9 kB / 25.61 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9311/0.9311, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1603/0.1603, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.28e-05, allocations: 3.062 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001088/0.001111, allocations: 0.4921 MB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.00247, allocations: 1.547 MB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.00249, allocations: 0 / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.002505, allocations: 4 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.002512, allocations: 3.938 kB / 382 MB, free: 20.7 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0007503/0.003262, allocations: 259.1 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.076e-05/0.003303, allocations: 0 / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.003336, allocations: 4 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.224e-05/0.003358, allocations: 3.938 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.493e-05/0.003373, allocations: 0 / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-06/0.00338, allocations: 0 / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.003953, allocations: 0.6908 MB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-06/0.003962, allocations: 0 / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.037e-05/0.003972, allocations: 0 / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.004453, allocations: 0.7525 MB / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004455, allocations: 0 / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004455, allocations: 0 / 383.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.004459, allocations: 3.938 kB / 383.7 MB, free: 18.99 MB / 314.7 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.0002814/0.00474, allocations: 389.9 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.004772, allocations: 8.031 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.004798, allocations: 4.938 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.694e-05/0.004835, allocations: 104.6 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.004844, allocations: 4.375 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-06/0.00485, allocations: 384 / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.639e-05/0.004907, allocations: 67.91 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.004913, allocations: 4.172 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.004919, allocations: 384 / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.004925, allocations: 3.938 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.253e-05/0.004937, allocations: 29.7 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.736e-05/0.004995, allocations: 93.27 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.005029, allocations: 52.8 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.189e-05/0.005041, allocations: 33.39 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-06/0.005044, allocations: 4 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.005069, allocations: 71.08 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.00507, allocations: 0 / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.0052, allocations: 114.8 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.005222, allocations: 77.11 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.18e-05/0.005244, allocations: 142.2 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-06/0.005248, allocations: 25.7 kB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.352e-05/0.005262, allocations: 126.9 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.005279, allocations: 7.984 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.005302, allocations: 19.36 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.00535, allocations: 0.4885 MB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.005359, allocations: 29.7 kB / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.005366, allocations: 25.7 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.005394, allocations: 67.03 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005396, allocations: 0 / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.019e-05/0.005436, allocations: 97.03 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.005458, allocations: 31.58 kB / 385.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.005463, allocations: 3.984 kB / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.00547, allocations: 0 / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.005471, allocations: 4.094 kB / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.005473, allocations: 4 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.005484, allocations: 3.938 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.005489, allocations: 0 / 385.8 MB, free: 16.59 MB / 314.7 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 4.331e-05/0.005532, allocations: 186.3 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-06/0.005538, allocations: 352 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.953e-06/0.005545, allocations: 3 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005546, allocations: 0 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.005547, allocations: 0 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.005551, allocations: 7.938 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.667e-05/0.005587, allocations: 97.2 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005588, allocations: 0 / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-07/0.005588, allocations: 0 / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.71e-07/0.005589, allocations: 0 / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.005594, allocations: 3.984 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005594, allocations: 4 kB / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005595, allocations: 0 / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.584e-05/0.005651, allocations: 131.8 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-06/0.005655, allocations: 3.984 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.005663, allocations: 0 / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-06/0.005668, allocations: 4 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-06/0.005675, allocations: 4.031 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.005678, allocations: 7.984 kB / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.099e-05/0.005689, allocations: 119.2 kB / 386.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005689, allocations: 0 / 386.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.005981, allocations: 127.8 kB / 386.5 MB, free: 15.83 MB / 314.7 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.0004683/0.00645, allocations: 190.5 kB / 386.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.006522, allocations: 118.5 kB / 386.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006524, allocations: 0 / 386.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.006537, allocations: 92.8 kB / 386.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.811e-05/0.006626, allocations: 7.938 kB / 386.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000111/0.006737, allocations: 107.6 kB / 387 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.612e-05/0.006753, allocations: 59.34 kB / 387.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.502e-06/0.006759, allocations: 0 / 387.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.006786, allocations: 70.2 kB / 387.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006786, allocations: 0 / 387.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Templates: time 0.006321/0.01311, allocations: 4.451 MB / 391.6 MB, free: 10.64 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3650162131525576]