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.001417/0.001417, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001752/0.001752, allocations: 209.8 kB / 23.73 MB, free: 4.387 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2394/0.2394, allocations: 46.97 MB / 360.9 MB, free: 4.031 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.002133/0.002133, allocations: 63.91 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3893, allocations: 66.03 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00333/0.3926, allocations: 1.652 MB / 0.5627 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.3929, allocations: 71.7 kB / 0.5628 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.909e-05/0.393, allocations: 7.938 kB / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.393, allocations: 11.86 kB / 0.5628 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.361e-05/0.3931, allocations: 7.875 kB / 0.5628 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3933, allocations: 39.95 kB / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3934, allocations: 83.7 kB / 0.5629 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.3936, allocations: 33.56 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.189e-05/0.3937, allocations: 35.86 kB / 0.563 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.874e-05/0.3937, allocations: 35.78 kB / 0.563 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3937, allocations: 8 kB / 0.563 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.3938, allocations: 4 kB / 0.563 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.3938, allocations: 23.91 kB / 0.563 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3938, allocations: 31.8 kB / 0.5631 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.394, allocations: 81.98 kB / 0.5631 GB, free: 2.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.394, allocations: 4 kB / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.394, allocations: 0 / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.394, allocations: 0 / 0.5631 GB, free: 2.031 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.0006196/0.3946, allocations: 322.1 kB / 0.5635 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3947, allocations: 12.03 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.3947, allocations: 12.84 kB / 0.5635 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.395, allocations: 142.4 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.3951, allocations: 12.48 kB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.3951, allocations: 12.38 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.3954, allocations: 118.7 kB / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3954, allocations: 0 / 0.5637 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3954, allocations: 7.984 kB / 0.5638 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.3955, allocations: 4 kB / 0.5638 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.3957, allocations: 75.89 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.3964, allocations: 384.3 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3966, allocations: 66.55 kB / 0.5643 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3967, allocations: 40.86 kB / 0.5643 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.3968, allocations: 3.938 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.3968, allocations: 30.56 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3968, allocations: 4 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000473/0.3973, allocations: 129.7 kB / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.3973, allocations: 51.48 kB / 0.5645 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3974, allocations: 125.3 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3975, allocations: 25.7 kB / 0.5647 GB, free: 340 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3976, allocations: 120 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.3976, allocations: 23.75 kB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.3976, allocations: 25.7 kB / 0.5648 GB, free: 160 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3978, allocations: 314.8 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3979, allocations: 31.97 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.3981, allocations: 45.62 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.3983, allocations: 69.94 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3983, allocations: 4 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002656/0.3985, allocations: 113.5 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3985, allocations: 11.94 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3986, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3986, allocations: 0 / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.3987, allocations: 19.98 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3987, allocations: 0 / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.3988, allocations: 11.94 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3988, allocations: 8.031 kB / 0.5654 GB, free: 15.51 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.0001083/0.3989, allocations: 117.8 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.3989, allocations: 11.89 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.3993, allocations: 113.9 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3993, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3993, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3993, allocations: 0 / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3995, allocations: 137.2 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3995, allocations: 8 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.3995, allocations: 15.98 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3995, allocations: 7.875 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.3996, allocations: 0 / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3996, allocations: 4 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3996, allocations: 0 / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.3999, allocations: 203.4 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.3999, allocations: 11.89 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.4, allocations: 4 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.4, allocations: 11.98 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.4001, allocations: 7.984 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.4001, allocations: 4 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.657e-05/0.4002, allocations: 91.27 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4002, allocations: 0 / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.4004, allocations: 23.89 kB / 0.5662 GB, free: 14.69 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.0001041/0.4005, allocations: 91.25 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.4008, allocations: 71.95 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4008, allocations: 0 / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.4009, allocations: 31.97 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.4011, allocations: 8.188 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.4017, allocations: 197.8 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.316e-05/0.4017, allocations: 81.31 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.941e-05/0.4018, allocations: 12.66 kB / 0.5666 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.4018, allocations: 15.44 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4018, allocations: 0 / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of Templates: time 0.003993/0.4058, allocations: 0.7377 MB / 0.5674 GB, free: 13.41 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","/var/lib/jenkins/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.215883947908878]