Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.00126/0.00126, allocations: 77.62 kB / 20.52 MB, free: 1.281 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.001358/0.001358, allocations: 167.2 kB / 23.76 MB, free: 4.473 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.454/1.454, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.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.238/0.238, allocations: 32.37 MB / 270.1 MB, free: 2.707 MB / 254.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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") [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.002277/0.002277, allocations: 71.91 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1465, allocations: 61.04 MB / 468.8 MB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001775/0.1483, allocations: 499 kB / 469.3 MB, free: 7.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.1514, allocations: 1.913 MB / 471.2 MB, free: 5.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.1515, allocations: 0 / 471.2 MB, free: 5.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.1515, allocations: 0 / 471.2 MB, free: 5.875 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.692e-06/0.1515, allocations: 3.938 kB / 471.2 MB, free: 5.871 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.1538, allocations: 0.7708 MB / 472 MB, free: 5.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.446e-05/0.1539, allocations: 0 / 472 MB, free: 5.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.1539, allocations: 4 kB / 472 MB, free: 5.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.1539, allocations: 0 / 472 MB, free: 5.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.003e-05/0.154, allocations: 0 / 472 MB, free: 5.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.154, allocations: 3.938 kB / 472 MB, free: 5.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.1553, allocations: 0.7135 MB / 472.7 MB, free: 4.375 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.1553, allocations: 3.984 kB / 472.7 MB, free: 4.371 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.1554, allocations: 0 / 472.7 MB, free: 4.371 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008035/0.1562, allocations: 0.5612 MB / 473.3 MB, free: 3.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1562, allocations: 4 kB / 473.3 MB, free: 3.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1562, allocations: 0 / 473.3 MB, free: 3.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1562, allocations: 0 / 473.3 MB, free: 3.805 MB / 446.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.000476/0.1567, allocations: 335.4 kB / 473.6 MB, free: 3.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1567, allocations: 16.03 kB / 473.6 MB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.1567, allocations: 0.9375 kB / 473.6 MB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.751e-05/0.1568, allocations: 102.5 kB / 473.7 MB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1568, allocations: 384 / 473.7 MB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-06/0.1568, allocations: 384 / 473.7 MB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.157, allocations: 67.64 kB / 473.8 MB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.157, allocations: 0 / 473.8 MB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.157, allocations: 0 / 473.8 MB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.157, allocations: 4 kB / 473.8 MB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.157, allocations: 29.7 kB / 473.8 MB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.1572, allocations: 97.33 kB / 473.9 MB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.403e-05/0.1572, allocations: 52.3 kB / 473.9 MB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.1573, allocations: 30.56 kB / 474 MB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.1573, allocations: 0 / 474 MB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/0.1573, allocations: 64.27 kB / 474 MB, free: 2.875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1573, allocations: 0 / 474 MB, free: 2.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002352/0.1576, allocations: 122.7 kB / 474.2 MB, free: 2.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.1576, allocations: 77.11 kB / 474.2 MB, free: 2.637 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.1577, allocations: 89.86 kB / 474.3 MB, free: 2.539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1577, allocations: 25.7 kB / 474.3 MB, free: 2.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.1578, allocations: 80.27 kB / 474.4 MB, free: 2.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.1578, allocations: 8 kB / 474.4 MB, free: 2.418 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.1578, allocations: 13.72 kB / 474.4 MB, free: 2.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1579, allocations: 310.8 kB / 474.7 MB, free: 2.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.58e-05/0.158, allocations: 29.7 kB / 474.8 MB, free: 2.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.158, allocations: 33.62 kB / 474.8 MB, free: 2.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.1581, allocations: 60.27 kB / 474.9 MB, free: 1.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1581, allocations: 0 / 474.9 MB, free: 1.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.772e-05/0.1582, allocations: 89.11 kB / 475 MB, free: 1.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.1582, allocations: 35.41 kB / 475 MB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1582, allocations: 4.094 kB / 475 MB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1582, allocations: 3.938 kB / 475 MB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.1582, allocations: 4 kB / 475 MB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1582, allocations: 7.875 kB / 475 MB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.1582, allocations: 0 / 475 MB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1582, allocations: 0 / 475 MB, free: 1.773 MB / 446.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 0.0001055/0.1584, allocations: 139.5 kB / 475.1 MB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.1584, allocations: 0 / 475.1 MB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.404e-05/0.1584, allocations: 6.938 kB / 475.2 MB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1584, allocations: 3.984 kB / 475.2 MB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1584, allocations: 7.938 kB / 475.2 MB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1584, allocations: 3.984 kB / 475.2 MB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.427e-05/0.1585, allocations: 101.3 kB / 475.3 MB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1585, allocations: 0 / 475.3 MB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1585, allocations: 0 / 475.3 MB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1585, allocations: 0 / 475.3 MB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1585, allocations: 0 / 475.3 MB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1585, allocations: 7.938 kB / 475.3 MB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1585, allocations: 0 / 475.3 MB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.1586, allocations: 120.5 kB / 475.4 MB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-06/0.1586, allocations: 4.031 kB / 475.4 MB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.1586, allocations: 0 / 475.4 MB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.034e-05/0.1587, allocations: 3.938 kB / 475.4 MB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.1587, allocations: 8 kB / 475.4 MB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1587, allocations: 0 / 475.4 MB, free: 1.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.86e-05/0.1587, allocations: 79.27 kB / 475.5 MB, free: 1.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1587, allocations: 0 / 475.5 MB, free: 1.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004388/0.1592, allocations: 139.6 kB / 475.6 MB, free: 1.082 MB / 446.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.0007069/0.1599, allocations: 262.5 kB / 475.9 MB, free: 0.8164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.16, allocations: 114.8 kB / 476 MB, free: 0.6797 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.16, allocations: 0 / 476 MB, free: 0.6797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.338e-05/0.1601, allocations: 85.09 kB / 476.1 MB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1602, allocations: 7.281 kB / 476.1 MB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.1604, allocations: 114.5 kB / 476.2 MB, free: 440 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.304e-05/0.1605, allocations: 51.36 kB / 476.2 MB, free: 368 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.981e-06/0.1605, allocations: 4 kB / 476.2 MB, free: 364 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.1605, allocations: 8.5 kB / 476.3 MB, free: 356 kB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1605, allocations: 0 / 476.3 MB, free: 356 kB / 446.1 MB Notification: Performance of Templates: time 0.2806/0.4411, allocations: 3.873 MB / 480.1 MB, free: 50.2 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.404899853980169]