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.001678/0.001678, allocations: 73.8 kB / 21.24 MB, free: 0.5547 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.001941/0.001941, allocations: 160.3 kB / 24.5 MB, free: 3.715 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.501/1.501, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.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.22/0.22, allocations: 34.27 MB / 295.5 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 179] 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.00206/0.00206, allocations: 63.91 kB / 443.1 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4721, allocations: 66.01 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00266/0.4747, allocations: 1.654 MB / 0.4988 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002564/0.475, allocations: 75 kB / 0.4989 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.4751, allocations: 7 kB / 0.4989 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.4751, allocations: 7.875 kB / 0.4989 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.4752, allocations: 7.875 kB / 0.4989 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.4753, allocations: 36.98 kB / 0.499 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.547e-05/0.4754, allocations: 85.05 kB / 0.499 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.4756, allocations: 38.61 kB / 0.4991 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.4757, allocations: 36.03 kB / 0.4991 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.4757, allocations: 32.8 kB / 0.4992 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.4758, allocations: 9.562 kB / 0.4992 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.4758, allocations: 6.344 kB / 0.4992 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.4758, allocations: 15.03 kB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.4758, allocations: 29.78 kB / 0.4992 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.476, allocations: 86.28 kB / 0.4993 GB, free: 28.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.476, allocations: 4 kB / 0.4993 GB, free: 28.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.476, allocations: 0 / 0.4993 GB, free: 28.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.476, allocations: 4 kB / 0.4993 GB, free: 28.41 MB / 446.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.0004667/0.4765, allocations: 318.3 kB / 0.4996 GB, free: 28.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4765, allocations: 13.47 kB / 0.4996 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.4766, allocations: 15.06 kB / 0.4996 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.4768, allocations: 152 kB / 0.4998 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.4768, allocations: 3.688 kB / 0.4998 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.4768, allocations: 10.62 kB / 0.4998 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.4771, allocations: 118.9 kB / 0.4999 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4771, allocations: 3.938 kB / 0.4999 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4772, allocations: 4 kB / 0.4999 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4772, allocations: 6.578 kB / 0.4999 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.4774, allocations: 76.28 kB / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.4779, allocations: 368.7 kB / 0.5003 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.478, allocations: 81.08 kB / 0.5004 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.4781, allocations: 36.02 kB / 0.5005 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.4782, allocations: 3.938 kB / 0.5005 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.4782, allocations: 33.84 kB / 0.5005 GB, free: 27.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4782, allocations: 0 / 0.5005 GB, free: 27.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004449/0.4786, allocations: 129.8 kB / 0.5006 GB, free: 27.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.4787, allocations: 58.69 kB / 0.5007 GB, free: 27.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.4787, allocations: 124.6 kB / 0.5008 GB, free: 27.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.4788, allocations: 25.7 kB / 0.5008 GB, free: 27.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.4788, allocations: 110.1 kB / 0.5009 GB, free: 27.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.4788, allocations: 30.25 kB / 0.5009 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.4789, allocations: 20.47 kB / 0.501 GB, free: 27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.4789, allocations: 318.3 kB / 0.5013 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.479, allocations: 31.28 kB / 0.5013 GB, free: 26.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.4791, allocations: 40.88 kB / 0.5013 GB, free: 26.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.4793, allocations: 79.8 kB / 0.5014 GB, free: 26.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4793, allocations: 0 / 0.5014 GB, free: 26.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002208/0.4795, allocations: 112.9 kB / 0.5015 GB, free: 26.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4796, allocations: 3.438 kB / 0.5015 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.4796, allocations: 0 / 0.5015 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.4796, allocations: 3.25 kB / 0.5015 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.4797, allocations: 22.66 kB / 0.5015 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4798, allocations: 0 / 0.5015 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.4798, allocations: 13.69 kB / 0.5016 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.4798, allocations: 4 kB / 0.5016 GB, free: 26.54 MB / 446.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 5.794e-05/0.4799, allocations: 117 kB / 0.5017 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.4799, allocations: 14.56 kB / 0.5017 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.4802, allocations: 115 kB / 0.5018 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4802, allocations: 0 / 0.5018 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4802, allocations: 4 kB / 0.5018 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4802, allocations: 3.938 kB / 0.5018 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.4803, allocations: 139.3 kB / 0.5019 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4803, allocations: 0 / 0.5019 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.693e-05/0.4804, allocations: 16.5 kB / 0.502 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4804, allocations: 3.938 kB / 0.502 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4804, allocations: 0 / 0.502 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4805, allocations: 7.25 kB / 0.502 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4805, allocations: 0 / 0.502 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.4807, allocations: 198.4 kB / 0.5022 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.4807, allocations: 18.52 kB / 0.5022 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.4807, allocations: 2.75 kB / 0.5022 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.4808, allocations: 3 kB / 0.5022 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.4808, allocations: 6.656 kB / 0.5022 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4808, allocations: 4 kB / 0.5022 GB, free: 26.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.252e-05/0.4809, allocations: 99.31 kB / 0.5023 GB, free: 25.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4809, allocations: 0 / 0.5023 GB, free: 25.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.4811, allocations: 21.61 kB / 0.5023 GB, free: 25.94 MB / 446.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 7.679e-05/0.4812, allocations: 96.19 kB / 0.5024 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.4814, allocations: 69.62 kB / 0.5025 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4814, allocations: 0 / 0.5025 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.4815, allocations: 38.52 kB / 0.5025 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.4818, allocations: 11.2 kB / 0.5025 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.4822, allocations: 189.8 kB / 0.5027 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.023e-05/0.4822, allocations: 90.22 kB / 0.5028 GB, free: 25.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.093e-05/0.4823, allocations: 4.016 kB / 0.5028 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.4823, allocations: 14.84 kB / 0.5028 GB, free: 25.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4823, allocations: 4 kB / 0.5028 GB, free: 25.56 MB / 446.1 MB Notification: Performance of Templates: time 0.003096/0.4854, allocations: 0.6733 MB / 0.5035 GB, free: 25.46 MB / 446.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 -s ida -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: 5.146004654001445]