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.001681/0.001681, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002314/0.002314, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.464/1.464, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2384/0.2384, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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.001983/0.001983, allocations: 59.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3933, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00311/0.3964, allocations: 1.645 MB / 0.5634 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.3967, allocations: 75.73 kB / 0.5635 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.3968, allocations: 7.938 kB / 0.5635 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/0.3968, allocations: 7.875 kB / 0.5635 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.3969, allocations: 19.81 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.3971, allocations: 27.97 kB / 0.5635 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.3972, allocations: 79.83 kB / 0.5636 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.3974, allocations: 45.53 kB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/0.3975, allocations: 39.8 kB / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.3976, allocations: 39.78 kB / 0.5637 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.3976, allocations: 4 kB / 0.5637 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.3977, allocations: 8 kB / 0.5638 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.3977, allocations: 19.92 kB / 0.5638 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.3977, allocations: 27.81 kB / 0.5638 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.3979, allocations: 82.03 kB / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3979, allocations: 0 / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.3979, allocations: 0 / 0.5639 GB, free: 2.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3979, allocations: 0 / 0.5639 GB, free: 2.02 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006831/0.3986, allocations: 326.1 kB / 0.5642 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3987, allocations: 8.031 kB / 0.5642 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.3987, allocations: 16.84 kB / 0.5642 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.399, allocations: 150.3 kB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.3991, allocations: 12.5 kB / 0.5644 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3991, allocations: 8.375 kB / 0.5644 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.3994, allocations: 118.7 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3994, allocations: 3.938 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.3994, allocations: 7.984 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3994, allocations: 0 / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.3997, allocations: 67.91 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.4003, allocations: 384.4 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.4006, allocations: 78.52 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.4007, allocations: 40.73 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.4007, allocations: 7.938 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.4007, allocations: 34.56 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4007, allocations: 0 / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004513/0.4012, allocations: 121.8 kB / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.4012, allocations: 59.39 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4014, allocations: 125.5 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.4014, allocations: 25.7 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.4015, allocations: 108 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.4015, allocations: 31.73 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.4016, allocations: 17.72 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4017, allocations: 326.8 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4019, allocations: 27.98 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.402, allocations: 41.69 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.4022, allocations: 77.73 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4022, allocations: 0 / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002637/0.4024, allocations: 105.5 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4025, allocations: 8.031 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4025, allocations: 0 / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4025, allocations: 4 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.4026, allocations: 19.98 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4026, allocations: 4 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.4027, allocations: 11.92 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.4027, allocations: 7.938 kB / 0.5662 GB, free: 15.49 MB / 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.000113/0.4028, allocations: 113.8 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.4028, allocations: 11.89 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.4032, allocations: 113.9 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4032, allocations: 4 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4032, allocations: 0 / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4032, allocations: 0 / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.4034, allocations: 137.2 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4034, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.4035, allocations: 27.92 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4035, allocations: 3.938 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4035, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4035, allocations: 4 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4035, allocations: 192 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.4038, allocations: 187.5 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.4038, allocations: 23.81 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.4038, allocations: 0 / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.4039, allocations: 8 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.4039, allocations: 7.984 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.4039, allocations: 0 / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.072e-05/0.404, allocations: 103.2 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.404, allocations: 4 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.4042, allocations: 19.89 kB / 0.5669 GB, free: 14.67 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: 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.0001092/0.4044, allocations: 87.25 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.4046, allocations: 72.47 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4046, allocations: 0 / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.4048, allocations: 39.92 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.405, allocations: 23.97 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.4055, allocations: 186.3 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.358e-05/0.4056, allocations: 85.31 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.4057, allocations: 8.672 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.4057, allocations: 11.44 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4057, allocations: 0 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of Templates: time 0.003535/0.4093, allocations: 0.7626 MB / 0.5681 GB, free: 13.36 MB / 414.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 -s cvode -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: 5.093654366006376]