Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.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.001544/0.001544, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001747/0.001747, allocations: 207.4 kB / 25.12 MB, free: 3.59 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.393/1.393, allocations: 230.4 MB / 258.7 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2145/0.2145, allocations: 46.93 MB / 362 MB, free: 4.242 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-beta.om/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.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-beta.om_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-beta.om_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 75.88 kB / 0.4978 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2804, allocations: 66.09 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002961/0.2833, allocations: 1.692 MB / 0.564 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002555/0.2836, allocations: 75.69 kB / 0.564 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.2837, allocations: 7.938 kB / 0.5641 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.2837, allocations: 11.86 kB / 0.5641 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.2837, allocations: 11.88 kB / 0.5641 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.2839, allocations: 27.97 kB / 0.5641 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.284, allocations: 83.77 kB / 0.5642 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.2842, allocations: 45.55 kB / 0.5642 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.2843, allocations: 35.84 kB / 0.5643 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.2843, allocations: 39.78 kB / 0.5643 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.2843, allocations: 4 kB / 0.5643 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.2844, allocations: 12 kB / 0.5643 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.2844, allocations: 15.94 kB / 0.5643 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.2844, allocations: 39.73 kB / 0.5644 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.2846, allocations: 82.11 kB / 0.5644 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2846, allocations: 0 / 0.5644 GB, free: 2.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2846, allocations: 0 / 0.5644 GB, free: 2.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2846, allocations: 0 / 0.5644 GB, free: 2.078 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.0005315/0.2851, allocations: 322.1 kB / 0.5648 GB, free: 1.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2851, allocations: 8.031 kB / 0.5648 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.2852, allocations: 20.84 kB / 0.5648 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2854, allocations: 150.3 kB / 0.5649 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2854, allocations: 8.562 kB / 0.5649 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.2855, allocations: 8.375 kB / 0.5649 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.2857, allocations: 119 kB / 0.5651 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2857, allocations: 4 kB / 0.5651 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2858, allocations: 8 kB / 0.5651 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2858, allocations: 0 / 0.5651 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.286, allocations: 75.83 kB / 0.5651 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.2866, allocations: 423.8 kB / 0.5655 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.2868, allocations: 70.48 kB / 0.5656 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2869, allocations: 32.88 kB / 0.5656 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.2869, allocations: 11.98 kB / 0.5657 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.2869, allocations: 30.56 kB / 0.5657 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 3.056e-06/0.2869, allocations: 8 kB / 0.5657 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004077/0.2873, allocations: 129.7 kB / 0.5658 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2874, allocations: 51.41 kB / 0.5659 GB, free: 488 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2875, allocations: 132.8 kB / 0.566 GB, free: 348 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2875, allocations: 25.7 kB / 0.566 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.2876, allocations: 108.2 kB / 0.5661 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.2876, allocations: 31.73 kB / 0.5661 GB, free: 168 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.2877, allocations: 25.72 kB / 0.5662 GB, free: 136 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2878, allocations: 318.8 kB / 0.5665 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2879, allocations: 23.98 kB / 0.5665 GB, free: 15.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.288, allocations: 41.69 kB / 0.5665 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.2882, allocations: 81.61 kB / 0.5666 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2882, allocations: 0 / 0.5666 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002564/0.2885, allocations: 113.5 kB / 0.5667 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2885, allocations: 4 kB / 0.5667 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2885, allocations: 0 / 0.5667 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2885, allocations: 4 kB / 0.5667 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.2886, allocations: 15.98 kB / 0.5667 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2886, allocations: 8.031 kB / 0.5668 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.2887, allocations: 11.92 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2887, allocations: 4 kB / 0.5668 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 9.953e-05/0.2888, allocations: 121.8 kB / 0.5669 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.2889, allocations: 7.953 kB / 0.5669 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.2891, allocations: 110.3 kB / 0.567 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2891, allocations: 8 kB / 0.567 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2892, allocations: 7.938 kB / 0.567 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2892, allocations: 0 / 0.567 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.2894, allocations: 176.6 kB / 0.5672 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.2894, allocations: 0 / 0.5672 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.608e-05/0.2895, allocations: 15.98 kB / 0.5672 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2895, allocations: 4 kB / 0.5672 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2895, allocations: 0 / 0.5672 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2895, allocations: 0 / 0.5672 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2895, allocations: 480 / 0.5672 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.2898, allocations: 207.5 kB / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.2898, allocations: 19.94 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2898, allocations: 3.938 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.2899, allocations: 4 kB / 0.5674 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.2899, allocations: 3.984 kB / 0.5674 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2899, allocations: 8 kB / 0.5674 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.29, allocations: 99.27 kB / 0.5675 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.29, allocations: 0 / 0.5675 GB, free: 14.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.2902, allocations: 19.94 kB / 0.5676 GB, free: 14.61 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 9.244e-05/0.2903, allocations: 91.23 kB / 0.5676 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.2906, allocations: 67.89 kB / 0.5677 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2906, allocations: 0 / 0.5677 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.2907, allocations: 43.97 kB / 0.5677 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2909, allocations: 10.44 kB / 0.5678 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.2913, allocations: 190 kB / 0.5679 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.2917, allocations: 0.7002 MB / 0.5686 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.262e-05/0.2917, allocations: 8.438 kB / 0.5686 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.2917, allocations: 11.44 kB / 0.5686 GB, free: 13.44 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2917, allocations: 0 / 0.5686 GB, free: 13.44 MB / 414.1 MB Notification: Performance of Templates: time 0.003244/0.295, allocations: 0.7396 MB / 0.5694 GB, free: 12.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 4.645932972896844]