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.001519/0.001519, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001175/0.001175, allocations: 170 kB / 25.61 MB, free: 8.859 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 0.9073/0.9073, allocations: 177.1 MB / 206 MB, free: 4.516 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.1245/0.1245, allocations: 34.27 MB / 296.9 MB, free: 13.93 MB / 282.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.032e-06/1.032e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.135e-05, allocations: 6.25 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.001503/0.001514, allocations: 1.681 MB / 380.9 MB, free: 21.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.0017, allocations: 83.61 kB / 381 MB, free: 21.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.001765, allocations: 7.938 kB / 381 MB, free: 21.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.001794, allocations: 7.875 kB / 381 MB, free: 21.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.001841, allocations: 11.81 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.001961, allocations: 31.97 kB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.002034, allocations: 87.75 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.002134, allocations: 25.56 kB / 381.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.002211, allocations: 47.89 kB / 381.2 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.002255, allocations: 23.91 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.002272, allocations: 8 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.002282, allocations: 12 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.002301, allocations: 19.91 kB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.002321, allocations: 23.92 kB / 381.3 MB, free: 21.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.032e-05/0.002401, allocations: 59.62 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.002403, allocations: 4 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.002403, allocations: 0 / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.002407, allocations: 0 / 381.4 MB, free: 21.28 MB / 314.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.0002578/0.002665, allocations: 420.4 kB / 381.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.002696, allocations: 8.031 kB / 381.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.002725, allocations: 16.89 kB / 381.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.002837, allocations: 156.4 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.002852, allocations: 8.562 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.002861, allocations: 12.31 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.002974, allocations: 118 kB / 382.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.00298, allocations: 4 kB / 382.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.002988, allocations: 4 kB / 382.1 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.002993, allocations: 4 kB / 382.1 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.003026, allocations: 27.97 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.003279, allocations: 454.9 kB / 382.6 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.164e-05/0.00334, allocations: 55.03 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.003363, allocations: 23.69 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.003376, allocations: 80 / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.003389, allocations: 41.38 kB / 382.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.00339, allocations: 0 / 382.7 MB, free: 19.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001179/0.003507, allocations: 77.69 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.003524, allocations: 59.41 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.488e-05/0.003569, allocations: 185.2 kB / 383 MB, free: 19.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-06/0.003575, allocations: 25.7 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.003614, allocations: 166.6 kB / 383.2 MB, free: 19.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.003624, allocations: 19.8 kB / 383.2 MB, free: 19.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.00365, allocations: 31.36 kB / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.003688, allocations: 496.1 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.003701, allocations: 11.98 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.00372, allocations: 27.36 kB / 383.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.003756, allocations: 47.3 kB / 383.8 MB, free: 18.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.003757, allocations: 4 kB / 383.8 MB, free: 18.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.065e-05/0.003818, allocations: 73.56 kB / 383.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.003828, allocations: 6.344 kB / 383.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.003832, allocations: 0 / 383.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.003839, allocations: 3.938 kB / 383.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.003896, allocations: 19.98 kB / 383.9 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.003898, allocations: 0 / 383.9 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.003922, allocations: 15.89 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.003926, allocations: 4 kB / 384 MB, free: 18.49 MB / 314.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 3.688e-05/0.003963, allocations: 156.6 kB / 384.1 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.00398, allocations: 11.95 kB / 384.1 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.004053, allocations: 74.05 kB / 384.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.004055, allocations: 3.938 kB / 384.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.004056, allocations: 3.984 kB / 384.2 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.004059, allocations: 0 / 384.2 MB, free: 18.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.994e-05/0.004139, allocations: 117.2 kB / 384.3 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.00414, allocations: 0 / 384.3 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.004172, allocations: 19.98 kB / 384.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.004173, allocations: 0 / 384.3 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.004178, allocations: 8 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004179, allocations: 0 / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004179, allocations: 0 / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.59e-05/0.004245, allocations: 215.8 kB / 384.6 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.004253, allocations: 15.88 kB / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.004261, allocations: 0 / 384.6 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.004299, allocations: 15.98 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.004322, allocations: 0 / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.004325, allocations: 3.938 kB / 384.6 MB, free: 17.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.084e-05/0.004346, allocations: 135.2 kB / 384.7 MB, free: 17.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004346, allocations: 3.938 kB / 384.7 MB, free: 17.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.004487, allocations: 16 kB / 384.7 MB, free: 17.64 MB / 314.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 4.838e-05/0.004535, allocations: 95.23 kB / 384.8 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.445e-05/0.00461, allocations: 40.14 kB / 384.9 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.004611, allocations: 4 kB / 384.9 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.004634, allocations: 27.83 kB / 384.9 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.004803, allocations: 12.09 kB / 384.9 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.005034, allocations: 199.7 kB / 385.1 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.195e-05/0.005056, allocations: 67.28 kB / 385.2 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.778e-05/0.005084, allocations: 8.719 kB / 385.2 MB, free: 17.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.00512, allocations: 74.2 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00512, allocations: 4 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of Templates: time 0.001933/0.007053, allocations: 0.7601 MB / 386 MB, free: 16.3 MB / 314.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 -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.736747305840254]