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.001438/0.001438, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001741/0.001741, allocations: 169.9 kB / 24.91 MB, free: 9.191 MB / 18.57 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.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.272/0.272, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.7 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 1.282e-06/1.282e-06, allocations: 0 / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.717e-05, allocations: 3.188 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.001973/0.00199, allocations: 1.746 MB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002172/0.002207, allocations: 83.61 kB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.002281, allocations: 7.938 kB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.00231, allocations: 11.81 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.838e-05/0.002359, allocations: 7.875 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.002486, allocations: 35.95 kB / 327.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.002568, allocations: 80.27 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.00267, allocations: 34.83 kB / 327.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.002759, allocations: 51.89 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.002806, allocations: 23.91 kB / 327.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.002824, allocations: 8 kB / 327.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.002834, allocations: 8 kB / 327.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.002856, allocations: 19.91 kB / 327.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.002878, allocations: 23.92 kB / 327.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.002975, allocations: 59.62 kB / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002977, allocations: 0 / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002977, allocations: 4 kB / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.00298, allocations: 0 / 327.5 MB, free: 5.457 MB / 298.7 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.0002824/0.003263, allocations: 298.1 kB / 327.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.003292, allocations: 12.03 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.00332, allocations: 12.92 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.003468, allocations: 150.1 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.003486, allocations: 8.5 kB / 327.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.003497, allocations: 12.36 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.003625, allocations: 112.5 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.003632, allocations: 0 / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.00364, allocations: 8 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.003647, allocations: 4 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.003683, allocations: 22.73 kB / 328.1 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.003965, allocations: 304 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.623e-05/0.004032, allocations: 50.56 kB / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.004049, allocations: 12.86 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.004062, allocations: 0 / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.004082, allocations: 34.56 kB / 328.5 MB, free: 4.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.004082, allocations: 4 kB / 328.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001107/0.004193, allocations: 65.61 kB / 328.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.004218, allocations: 55.34 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.065e-05/0.004279, allocations: 128.8 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.004289, allocations: 33.64 kB / 328.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.004331, allocations: 112.1 kB / 328.9 MB, free: 3.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.004345, allocations: 27.73 kB / 328.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.004371, allocations: 21.7 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.00444, allocations: 322.8 kB / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.004452, allocations: 4 kB / 329.2 MB, free: 3.527 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.004471, allocations: 25.7 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.004512, allocations: 41.62 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004513, allocations: 0 / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.725e-05/0.00457, allocations: 57.67 kB / 329.4 MB, free: 3.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.004582, allocations: 10.5 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.004586, allocations: 3.938 kB / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.004598, allocations: 0 / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.004658, allocations: 19.94 kB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004661, allocations: 400 / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.004682, allocations: 12.02 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.004687, allocations: 4 kB / 329.4 MB, free: 3.34 MB / 298.7 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 4.79e-05/0.004735, allocations: 109.8 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.004751, allocations: 4 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.387e-05/0.004834, allocations: 74.02 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.004836, allocations: 0 / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.004838, allocations: 7.938 kB / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.004842, allocations: 0 / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.841e-05/0.00493, allocations: 93.75 kB / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004931, allocations: 0 / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.004968, allocations: 23.98 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.004969, allocations: 0 / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.004974, allocations: 4 kB / 329.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.004976, allocations: 4 kB / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004977, allocations: 0 / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.582e-05/0.005053, allocations: 155.4 kB / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.005061, allocations: 7.953 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.00507, allocations: 4 kB / 329.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.005101, allocations: 4 kB / 329.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.005128, allocations: 7.984 kB / 329.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.00513, allocations: 4 kB / 329.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.561e-05/0.005146, allocations: 28.72 kB / 329.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005146, allocations: 0 / 329.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001169/0.005263, allocations: 12 kB / 330 MB, free: 2.746 MB / 298.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: 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 5.77e-05/0.00532, allocations: 72.42 kB / 330 MB, free: 2.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.956e-05/0.00539, allocations: 40.77 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.005392, allocations: 0 / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.15e-05/0.005414, allocations: 24.84 kB / 330.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.005538, allocations: 8 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.005799, allocations: 196.8 kB / 330.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.005835, allocations: 63.34 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3e-05/0.005865, allocations: 8.719 kB / 330.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.005909, allocations: 59.38 kB / 330.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.00591, allocations: 0 / 330.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of Templates: time 0.00208/0.007989, allocations: 0.6845 MB / 331.1 MB, free: 1.539 MB / 298.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.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: 2.9581328998319805]