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.001328/0.001328, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001187/0.001187, allocations: 170.8 kB / 24.91 MB, free: 9.148 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.9699/0.9699, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2521/0.2521, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.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.753e-06/1.753e-06, allocations: 0 / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.655e-05, allocations: 5.297 kB / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00237/0.002397, allocations: 1.699 MB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002448/0.002641, allocations: 75.69 kB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.002715, allocations: 11.94 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.002748, allocations: 7.875 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.002802, allocations: 15.8 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.002955, allocations: 31.97 kB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.445e-05/0.003049, allocations: 76.27 kB / 327.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.003165, allocations: 38.2 kB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.003268, allocations: 51.88 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.003319, allocations: 23.91 kB / 327.3 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.003343, allocations: 8 kB / 327.3 MB, free: 5.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.003354, allocations: 12 kB / 327.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.003376, allocations: 15.92 kB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.0034, allocations: 23.92 kB / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.003497, allocations: 59.62 kB / 327.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003499, allocations: 0 / 327.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.0035, allocations: 0 / 327.4 MB, free: 5.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.003504, allocations: 4 kB / 327.4 MB, free: 5.547 MB / 298.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.0003338/0.003838, allocations: 298.7 kB / 327.7 MB, free: 5.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.003872, allocations: 12.02 kB / 327.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.003901, allocations: 8.938 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.004069, allocations: 157.5 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.00409, allocations: 8.562 kB / 327.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.004104, allocations: 8.375 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.004267, allocations: 108.1 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.004274, allocations: 0 / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004282, allocations: 4 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.004288, allocations: 4 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.82e-05/0.004327, allocations: 26.67 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.004639, allocations: 308.1 kB / 328.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.941e-05/0.004718, allocations: 46.58 kB / 328.3 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.733e-05/0.004736, allocations: 12.86 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.00475, allocations: 0 / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.004775, allocations: 34.56 kB / 328.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.004776, allocations: 0 / 328.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001152/0.004892, allocations: 65.61 kB / 328.5 MB, free: 4.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.004922, allocations: 55.34 kB / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/0.004982, allocations: 127.2 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.004992, allocations: 29.69 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.005042, allocations: 112.1 kB / 328.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.005057, allocations: 27.73 kB / 328.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.005086, allocations: 25.64 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.005157, allocations: 322.8 kB / 329.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.00517, allocations: 4 kB / 329.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.005194, allocations: 25.64 kB / 329.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.005234, allocations: 37.69 kB / 329.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005236, allocations: 4 kB / 329.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.057e-05/0.005306, allocations: 61.61 kB / 329.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.005319, allocations: 8 kB / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.005322, allocations: 0 / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.005334, allocations: 0 / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.005408, allocations: 19.92 kB / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.005412, allocations: 4 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.005434, allocations: 4 kB / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.00544, allocations: 4 kB / 329.3 MB, free: 3.441 MB / 298.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 5.765e-05/0.005498, allocations: 117.8 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.005519, allocations: 11.98 kB / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.337e-05/0.005613, allocations: 58.5 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005615, allocations: 0 / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.005617, allocations: 3.938 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.00562, allocations: 0 / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.005727, allocations: 101.8 kB / 329.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.005729, allocations: 4 kB / 329.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.005775, allocations: 15.98 kB / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005776, allocations: 0 / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.005782, allocations: 3.984 kB / 329.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.005784, allocations: 8 kB / 329.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.005786, allocations: 4.016 kB / 329.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.542e-05/0.005872, allocations: 159.4 kB / 329.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.00588, allocations: 7.953 kB / 329.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.005889, allocations: 4 kB / 329.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.005922, allocations: 4 kB / 329.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.005948, allocations: 3.984 kB / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.005951, allocations: 0 / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.175e-05/0.005973, allocations: 32.03 kB / 329.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005973, allocations: 0 / 329.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001179/0.006091, allocations: 16 kB / 329.9 MB, free: 2.84 MB / 298.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 7.456e-05/0.006166, allocations: 76.3 kB / 329.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.183e-05/0.006237, allocations: 40.83 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.006241, allocations: 0 / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-05/0.006263, allocations: 24.78 kB / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.006387, allocations: 8 kB / 330 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.006668, allocations: 192.8 kB / 330.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.006702, allocations: 67.41 kB / 330.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.044e-05/0.006732, allocations: 8.719 kB / 330.3 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.006776, allocations: 55.38 kB / 330.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.006777, allocations: 0 / 330.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of Templates: time 0.002329/0.009106, allocations: 0.6863 MB / 331 MB, free: 1.633 MB / 298.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.9246683600358665]