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.007231/0.007231, allocations: 106.8 kB / 21.98 MB, free: 5.223 MB / 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.001674/0.001674, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.469/1.469, allocations: 230.5 MB / 258.9 MB, free: 7.996 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.2222/0.2222, allocations: 46.92 MB / 362.3 MB, free: 4.168 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.002307/0.002307, allocations: 83.86 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3219, allocations: 66.08 MB / 0.5627 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002841/0.3248, allocations: 1.695 MB / 0.5644 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002436/0.325, allocations: 71.7 kB / 0.5644 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.916e-05/0.3251, allocations: 7.938 kB / 0.5645 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.3251, allocations: 11.86 kB / 0.5645 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.595e-05/0.3252, allocations: 11.86 kB / 0.5645 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.3253, allocations: 31.97 kB / 0.5645 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3255, allocations: 83.77 kB / 0.5646 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3256, allocations: 45.48 kB / 0.5646 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.123e-05/0.3257, allocations: 35.86 kB / 0.5647 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/0.3258, allocations: 39.78 kB / 0.5647 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.3258, allocations: 11.98 kB / 0.5647 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.3258, allocations: 4 kB / 0.5647 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.3259, allocations: 19.92 kB / 0.5647 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.3259, allocations: 35.75 kB / 0.5648 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.326, allocations: 81.97 kB / 0.5648 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.326, allocations: 0 / 0.5648 GB, free: 2.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.326, allocations: 4 kB / 0.5649 GB, free: 2.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3261, allocations: 0 / 0.5649 GB, free: 2.016 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.0005267/0.3266, allocations: 322.1 kB / 0.5652 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3266, allocations: 16.02 kB / 0.5652 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.3267, allocations: 12.84 kB / 0.5652 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3269, allocations: 150.3 kB / 0.5653 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.3269, allocations: 12.56 kB / 0.5653 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.327, allocations: 4.375 kB / 0.5653 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.3272, allocations: 115.7 kB / 0.5655 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3272, allocations: 0 / 0.5655 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3272, allocations: 8 kB / 0.5655 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3273, allocations: 0 / 0.5655 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.3275, allocations: 79.83 kB / 0.5655 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.3281, allocations: 419.8 kB / 0.5659 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3283, allocations: 74.48 kB / 0.566 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3284, allocations: 40.86 kB / 0.5661 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.3284, allocations: 4 kB / 0.5661 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3284, allocations: 30.56 kB / 0.5661 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.3284, allocations: 3.938 kB / 0.5661 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004048/0.3288, allocations: 125.8 kB / 0.5662 GB, free: 496 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3289, allocations: 59.39 kB / 0.5663 GB, free: 424 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.329, allocations: 126.1 kB / 0.5664 GB, free: 288 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.329, allocations: 25.7 kB / 0.5664 GB, free: 256 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.3291, allocations: 112.2 kB / 0.5665 GB, free: 136 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3291, allocations: 27.73 kB / 0.5665 GB, free: 108 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.3291, allocations: 21.72 kB / 0.5666 GB, free: 80 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3293, allocations: 318.8 kB / 0.5669 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3294, allocations: 31.97 kB / 0.5669 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3295, allocations: 53.58 kB / 0.5669 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.3297, allocations: 69.98 kB / 0.567 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3297, allocations: 0 / 0.567 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002547/0.33, allocations: 117.5 kB / 0.5671 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.33, allocations: 8 kB / 0.5671 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.33, allocations: 0 / 0.5671 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.33, allocations: 0 / 0.5671 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3301, allocations: 19.98 kB / 0.5672 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3301, allocations: 3.984 kB / 0.5672 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.107e-05/0.3302, allocations: 7.938 kB / 0.5672 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3302, allocations: 4 kB / 0.5672 GB, free: 15.43 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.558e-05/0.3303, allocations: 125.8 kB / 0.5673 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3303, allocations: 15.89 kB / 0.5673 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.3306, allocations: 114.3 kB / 0.5674 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3306, allocations: 0 / 0.5674 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3306, allocations: 0 / 0.5674 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3306, allocations: 0 / 0.5674 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.3308, allocations: 172.6 kB / 0.5676 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3308, allocations: 0 / 0.5676 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-05/0.3309, allocations: 23.98 kB / 0.5676 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3309, allocations: 0 / 0.5676 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3309, allocations: 0 / 0.5676 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.331, allocations: 3.938 kB / 0.5676 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.331, allocations: 0 / 0.5676 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.3312, allocations: 203.4 kB / 0.5678 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.3313, allocations: 11.95 kB / 0.5678 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3313, allocations: 8 kB / 0.5678 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.3314, allocations: 4 kB / 0.5678 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3314, allocations: 7.984 kB / 0.5678 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3314, allocations: 0 / 0.5678 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.3315, allocations: 106.1 kB / 0.5679 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3315, allocations: 0 / 0.5679 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.3317, allocations: 19.94 kB / 0.568 GB, free: 14.55 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.556e-05/0.3318, allocations: 95.19 kB / 0.568 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3321, allocations: 67.95 kB / 0.5681 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3321, allocations: 0 / 0.5681 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.3322, allocations: 35.91 kB / 0.5681 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3324, allocations: 11.94 kB / 0.5682 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.3328, allocations: 211.9 kB / 0.5684 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3332, allocations: 0.7041 MB / 0.569 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.3332, allocations: 11.44 kB / 0.5691 GB, free: 13.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3332, allocations: 4 kB / 0.5691 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Templates: time 0.002729/0.3359, allocations: 1.095 MB / 0.5701 GB, free: 12.26 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 -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: 7.195982106029987]