Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.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.001659/0.001659, allocations: 115 kB / 18.46 MB, free: 4.621 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.001903/0.001903, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2687/0.2687, allocations: 46.91 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.91 kB / 0.4921 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.136, allocations: 65.99 MB / 0.5565 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00312/0.1391, allocations: 1.7 MB / 0.5582 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.1394, allocations: 77.41 kB / 0.5582 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/0.1395, allocations: 3.938 kB / 0.5582 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.002e-05/0.1396, allocations: 11.86 kB / 0.5583 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.1396, allocations: 11.88 kB / 0.5583 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1398, allocations: 31.91 kB / 0.5583 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1399, allocations: 75.83 kB / 0.5584 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1401, allocations: 37.36 kB / 0.5584 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1402, allocations: 39.84 kB / 0.5584 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.1403, allocations: 39.78 kB / 0.5585 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1403, allocations: 8 kB / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.1403, allocations: 11.94 kB / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.1403, allocations: 19.92 kB / 0.5585 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.1404, allocations: 35.73 kB / 0.5586 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1405, allocations: 79.59 kB / 0.5586 GB, free: 3.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1405, allocations: 0 / 0.5586 GB, free: 3.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1405, allocations: 3.938 kB / 0.5586 GB, free: 3.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1405, allocations: 0 / 0.5586 GB, free: 3.18 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005951/0.1411, allocations: 399.3 kB / 0.559 GB, free: 2.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1412, allocations: 8.031 kB / 0.559 GB, free: 2.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.1412, allocations: 16.84 kB / 0.559 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1415, allocations: 216.1 kB / 0.5592 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1415, allocations: 4.562 kB / 0.5592 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1415, allocations: 8.375 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.1418, allocations: 119.7 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1418, allocations: 0 / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1419, allocations: 0 / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1419, allocations: 4 kB / 0.5594 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.1421, allocations: 79.83 kB / 0.5594 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.1427, allocations: 448.8 kB / 0.5599 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.143, allocations: 78.5 kB / 0.56 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1431, allocations: 32.84 kB / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1431, allocations: 4 kB / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1431, allocations: 42.48 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1431, allocations: 0 / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004404/0.1436, allocations: 121.8 kB / 0.5601 GB, free: 1.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1436, allocations: 51.41 kB / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1438, allocations: 130 kB / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1438, allocations: 33.7 kB / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.1439, allocations: 108.3 kB / 0.5605 GB, free: 1.098 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1439, allocations: 31.75 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1439, allocations: 21.72 kB / 0.5605 GB, free: 1.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1441, allocations: 322.8 kB / 0.5608 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1442, allocations: 19.98 kB / 0.5608 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1443, allocations: 53.61 kB / 0.5609 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.1445, allocations: 73.67 kB / 0.561 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1445, allocations: 0 / 0.561 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002669/0.1448, allocations: 105.5 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1448, allocations: 9.875 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1448, allocations: 0 / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1448, allocations: 4.031 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1449, allocations: 27.92 kB / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.145, allocations: 0 / 0.5611 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.145, allocations: 11.92 kB / 0.5611 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.145, allocations: 8 kB / 0.5611 GB, free: 400 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001092/0.1451, allocations: 123.9 kB / 0.5612 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.1452, allocations: 7.953 kB / 0.5612 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.1455, allocations: 114.7 kB / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1455, allocations: 0 / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1455, allocations: 0 / 0.5613 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.1455, allocations: 3.984 kB / 0.5613 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.1457, allocations: 205.5 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1457, allocations: 0 / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1458, allocations: 27.92 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1458, allocations: 0 / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1458, allocations: 0 / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1458, allocations: 0 / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1459, allocations: 4 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1462, allocations: 199.5 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.1462, allocations: 89.05 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1462, allocations: 0 / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.1463, allocations: 8 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1464, allocations: 7.984 kB / 0.5619 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1464, allocations: 4 kB / 0.5619 GB, free: 15.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.948e-05/0.1464, allocations: 100.8 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1464, allocations: 4 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1467, allocations: 12.12 kB / 0.562 GB, free: 15.4 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001141/0.1468, allocations: 99.19 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.1471, allocations: 75.86 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1471, allocations: 4.062 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1472, allocations: 31.92 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.1474, allocations: 15.92 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.1479, allocations: 207.7 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1482, allocations: 0.7041 MB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.1483, allocations: 19.44 kB / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1483, allocations: 0 / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of Templates: time 0.002895/0.1512, allocations: 1.102 MB / 0.5642 GB, free: 13.08 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.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: 7.62161980298697]