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.00129/0.00129, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.001431/0.001431, allocations: 217.3 kB / 24.49 MB, free: 3.93 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.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2256/0.2256, allocations: 46.97 MB / 361.6 MB, free: 4.047 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.002066/0.002066, allocations: 60.09 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2836, allocations: 66.05 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002882/0.2865, allocations: 1.649 MB / 0.5634 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00024/0.2868, allocations: 71.69 kB / 0.5635 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.2868, allocations: 7.938 kB / 0.5635 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.2869, allocations: 15.86 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.2869, allocations: 7.875 kB / 0.5635 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.2871, allocations: 35.97 kB / 0.5636 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.2872, allocations: 87.75 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.2873, allocations: 33.56 kB / 0.5637 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.2874, allocations: 35.86 kB / 0.5637 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.2875, allocations: 31.84 kB / 0.5637 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.2875, allocations: 8 kB / 0.5638 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.524e-05/0.2875, allocations: 11.94 kB / 0.5638 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.2875, allocations: 11.98 kB / 0.5638 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.2876, allocations: 39.78 kB / 0.5638 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.2877, allocations: 81.94 kB / 0.5639 GB, free: 2.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2877, allocations: 4 kB / 0.5639 GB, free: 2.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2877, allocations: 0 / 0.5639 GB, free: 2.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2877, allocations: 0 / 0.5639 GB, free: 2.066 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.0005078/0.2882, allocations: 326.1 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2883, allocations: 8.031 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.2883, allocations: 12.84 kB / 0.5642 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2885, allocations: 150.3 kB / 0.5644 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.2886, allocations: 8.547 kB / 0.5644 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.2886, allocations: 12.38 kB / 0.5644 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.2888, allocations: 111.7 kB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2889, allocations: 0 / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2889, allocations: 4 kB / 0.5645 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2889, allocations: 7.938 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.2891, allocations: 83.83 kB / 0.5646 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.2897, allocations: 372.4 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.2899, allocations: 74.53 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.29, allocations: 36.86 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.29, allocations: 3.938 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.29, allocations: 34.56 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.29, allocations: 0 / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004217/0.2905, allocations: 133.7 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2905, allocations: 51.41 kB / 0.5653 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2906, allocations: 125.6 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2906, allocations: 25.7 kB / 0.5654 GB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.2907, allocations: 115.9 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.2907, allocations: 27.81 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.2908, allocations: 21.72 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.291, allocations: 322.8 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2911, allocations: 31.97 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.2912, allocations: 41.69 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.2914, allocations: 69.62 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2914, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002689/0.2917, allocations: 113.5 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2917, allocations: 11.98 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2917, allocations: 0 / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2917, allocations: 0 / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.2918, allocations: 19.98 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2918, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.2919, allocations: 7.938 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2919, allocations: 12 kB / 0.5662 GB, free: 15.55 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.0001008/0.292, allocations: 117.8 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.292, allocations: 15.92 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.2923, allocations: 110 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2924, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2924, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.2924, allocations: 7.953 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2924, allocations: 0 / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2925, allocations: 15.97 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.2925, allocations: 8.172 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003364/0.2929, allocations: 188.8 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003412/0.2932, allocations: 279.2 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001065/0.2933, allocations: 36.03 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.332e-05/0.2934, allocations: 99.27 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Backend: time 1.2e-07/0.2934, allocations: 0 / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.2938, allocations: 116.7 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of SimCode: time 0.000567/0.2943, allocations: 0.6239 MB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of Templates: time 0.003656/0.298, allocations: 1.078 MB / 0.5688 GB, free: 12.79 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 -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: 4.730910431004304]