Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.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.001675/0.001676, allocations: 118 kB / 18.46 MB, free: 4.594 MB / 14.72 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.001702/0.001702, allocations: 211.4 kB / 21.41 MB, free: 1.645 MB / 14.72 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 1.496/1.496, allocations: 227.4 MB / 251.7 MB, free: 48 kB / 190.1 MB " [Timeout remaining time 178] 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.2286/0.2286, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 85.39 kB / 490.2 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1438, allocations: 62.44 MB / 0.5397 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001733/0.1456, allocations: 494.7 kB / 0.5401 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1472, allocations: 0.7685 MB / 0.5409 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.756e-05/0.1473, allocations: 0 / 0.5409 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.1473, allocations: 4 kB / 0.5409 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/0.1473, allocations: 0 / 0.5409 GB, free: 2.984 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.1492, allocations: 0.6569 MB / 0.5415 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.799e-05/0.1492, allocations: 8 kB / 0.5415 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.1493, allocations: 3.984 kB / 0.5415 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.549e-05/0.1493, allocations: 0 / 0.5415 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.363e-05/0.1493, allocations: 4 kB / 0.5415 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.69e-06/0.1493, allocations: 0 / 0.5415 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.1501, allocations: 393.9 kB / 0.5419 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.1501, allocations: 0 / 0.5419 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.1501, allocations: 4 kB / 0.5419 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.1506, allocations: 355.1 kB / 0.5423 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1507, allocations: 0 / 0.5423 GB, free: 1.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1507, allocations: 4 kB / 0.5423 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1507, allocations: 0 / 0.5423 GB, free: 1.574 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.0004586/0.1511, allocations: 384.8 kB / 0.5426 GB, free: 1.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1512, allocations: 12.03 kB / 0.5426 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.1512, allocations: 0.9375 kB / 0.5426 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1514, allocations: 164.4 kB / 0.5428 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1514, allocations: 384 / 0.5428 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.1514, allocations: 384 / 0.5428 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.1515, allocations: 30.27 kB / 0.5428 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1515, allocations: 4.188 kB / 0.5428 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1515, allocations: 3.938 kB / 0.5428 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1516, allocations: 0 / 0.5428 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.1516, allocations: 3.938 kB / 0.5428 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.1518, allocations: 153.7 kB / 0.543 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/0.1518, allocations: 14.58 kB / 0.543 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.1518, allocations: 8.953 kB / 0.543 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.1518, allocations: 3.984 kB / 0.543 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/0.1519, allocations: 64.2 kB / 0.5431 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1519, allocations: 0 / 0.5431 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001918/0.1521, allocations: 75.27 kB / 0.5431 GB, free: 492 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1522, allocations: 77.11 kB / 0.5432 GB, free: 396 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.1522, allocations: 93.81 kB / 0.5433 GB, free: 292 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1523, allocations: 25.7 kB / 0.5433 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.1523, allocations: 80.14 kB / 0.5434 GB, free: 176 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1523, allocations: 4.125 kB / 0.5434 GB, free: 172 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.1524, allocations: 13.72 kB / 0.5434 GB, free: 152 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1525, allocations: 314.8 kB / 0.5437 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.1526, allocations: 0 / 0.5437 GB, free: 15.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.1526, allocations: 7.938 kB / 0.5437 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/0.1526, allocations: 68.25 kB / 0.5438 GB, free: 15.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1526, allocations: 0 / 0.5438 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.823e-05/0.1527, allocations: 59.44 kB / 0.5439 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.1528, allocations: 37.7 kB / 0.5439 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1528, allocations: 0 / 0.5439 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1528, allocations: 3.938 kB / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.956e-06/0.1528, allocations: 3.984 kB / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1528, allocations: 0 / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.1528, allocations: 4 kB / 0.5439 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1529, allocations: 0 / 0.5439 GB, free: 15.62 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.655e-05/0.153, allocations: 135.5 kB / 0.544 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.153, allocations: 0 / 0.544 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.199e-05/0.153, allocations: 11.06 kB / 0.544 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.153, allocations: 0 / 0.544 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.153, allocations: 4 kB / 0.544 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.153, allocations: 0 / 0.544 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.1531, allocations: 149.6 kB / 0.5442 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1531, allocations: 0 / 0.5442 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.1532, allocations: 0 / 0.5442 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.1532, allocations: 0 / 0.5442 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1532, allocations: 7.938 kB / 0.5442 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1532, allocations: 0 / 0.5442 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1532, allocations: 0 / 0.5442 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.1533, allocations: 94.77 kB / 0.5443 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.1533, allocations: 85.05 kB / 0.5444 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1534, allocations: 3.938 kB / 0.5444 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.037e-05/0.1534, allocations: 4 kB / 0.5444 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.1534, allocations: 0 / 0.5444 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1534, allocations: 4 kB / 0.5444 GB, free: 15.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.1534, allocations: 83.31 kB / 0.5445 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1535, allocations: 0 / 0.5445 GB, free: 14.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.1538, allocations: 83.72 kB / 0.5445 GB, free: 14.86 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.0005804/0.1544, allocations: 225.3 kB / 0.5448 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1545, allocations: 55.41 kB / 0.5448 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.1546, allocations: 0 / 0.5448 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.1546, allocations: 63.34 kB / 0.5449 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.1547, allocations: 5.531 kB / 0.5449 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.1549, allocations: 85.05 kB / 0.545 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1553, allocations: 0.669 MB / 0.5456 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.869e-06/0.1553, allocations: 0 / 0.5456 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.1553, allocations: 11.44 kB / 0.5456 GB, free: 13.67 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1553, allocations: 0 / 0.5456 GB, free: 13.67 MB / 414.1 MB Notification: Performance of Templates: time 0.005335/0.1606, allocations: 1.927 MB / 0.5475 GB, free: 11.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0074546141549945]