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.001696/0.001696, allocations: 84.47 kB / 20.68 MB, free: 1.023 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.001509/0.001509, allocations: 164.4 kB / 23.96 MB, free: 4.145 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.494/1.494, allocations: 177.1 MB / 204.3 MB, free: 9.16 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.2209/0.2209, allocations: 34.27 MB / 294.9 MB, free: 14.55 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 2.354e-06/2.354e-06, allocations: 0 / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.721e-05, allocations: 2.281 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003265/0.003303, allocations: 1.663 MB / 444.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002941/0.003597, allocations: 79.62 kB / 444.4 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.003683, allocations: 4 kB / 444.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.044e-05/0.003734, allocations: 15.8 kB / 444.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.003815, allocations: 7.875 kB / 444.4 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.003988, allocations: 31.97 kB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.004123, allocations: 79.77 kB / 444.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.004277, allocations: 33.56 kB / 444.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.004404, allocations: 51.88 kB / 444.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.004473, allocations: 23.91 kB / 444.6 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.004516, allocations: 11.94 kB / 444.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.004532, allocations: 4 kB / 444.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.004566, allocations: 23.91 kB / 444.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.004604, allocations: 19.94 kB / 444.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.004753, allocations: 71.7 kB / 444.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.004758, allocations: 4 kB / 444.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004759, allocations: 0 / 444.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.004765, allocations: 7.938 kB / 444.8 MB, free: 3.246 MB / 366.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.0006352/0.0054, allocations: 318.2 kB / 445.1 MB, free: 2.902 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.005447, allocations: 12.03 kB / 445.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.005492, allocations: 12.84 kB / 445.1 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.005772, allocations: 157.5 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.005799, allocations: 4.562 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.00582, allocations: 12.31 kB / 445.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.006127, allocations: 123.6 kB / 445.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.006139, allocations: 0 / 445.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.006155, allocations: 4 kB / 445.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.006164, allocations: 4 kB / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.006416, allocations: 75.88 kB / 445.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.007081, allocations: 364.4 kB / 445.9 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.007314, allocations: 82.56 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.007439, allocations: 32.83 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.007469, allocations: 7.984 kB / 446 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.007497, allocations: 34.5 kB / 446 MB, free: 1.906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.007498, allocations: 0 / 446 MB, free: 1.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004863/0.007984, allocations: 129.7 kB / 446.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.008044, allocations: 59.41 kB / 446.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.008165, allocations: 124.7 kB / 446.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.008185, allocations: 25.7 kB / 446.3 MB, free: 1.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.008282, allocations: 108 kB / 446.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.008309, allocations: 23.8 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.00836, allocations: 25.67 kB / 446.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.008527, allocations: 318.8 kB / 446.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.008639, allocations: 27.97 kB / 446.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.008763, allocations: 45.64 kB / 446.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.008983, allocations: 77.73 kB / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008984, allocations: 0 / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002789/0.009263, allocations: 101.6 kB / 447.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.009278, allocations: 4 kB / 447.1 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.009287, allocations: 11.92 kB / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.009303, allocations: 0 / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.009434, allocations: 24.02 kB / 447.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.00944, allocations: 3.938 kB / 447.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/0.009507, allocations: 11.89 kB / 447.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.009517, allocations: 4 kB / 447.1 MB, free: 0.7344 MB / 366.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.0001091/0.009626, allocations: 126.4 kB / 447.2 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.009657, allocations: 7.953 kB / 447.2 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.009995, allocations: 110.4 kB / 447.3 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.009997, allocations: 0 / 447.3 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01, allocations: 4.188 kB / 447.4 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01001, allocations: 0 / 447.4 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.01021, allocations: 141.2 kB / 447.5 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01021, allocations: 0 / 447.5 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.654e-05/0.01031, allocations: 19.98 kB / 447.5 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01031, allocations: 0 / 447.5 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.01032, allocations: 0 / 447.5 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01032, allocations: 7.875 kB / 447.5 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01032, allocations: 0 / 447.5 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.01067, allocations: 203.5 kB / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.01069, allocations: 7.953 kB / 447.7 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.0107, allocations: 0 / 447.7 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.0108, allocations: 15.92 kB / 447.7 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.01085, allocations: 4 kB / 447.7 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.01086, allocations: 0 / 447.7 MB, free: 36 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.1994/0.2102, allocations: 99.27 kB / 447.8 MB, free: 19.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2102, allocations: 0 / 447.8 MB, free: 19.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.2106, allocations: 18.84 kB / 447.9 MB, free: 19.2 MB / 366.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.0001231/0.2107, allocations: 95.16 kB / 448 MB, free: 19.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.211, allocations: 72.48 kB / 448 MB, free: 19.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.211, allocations: 3.969 kB / 448 MB, free: 19.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.2111, allocations: 36.06 kB / 448.1 MB, free: 19.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2115, allocations: 8.5 kB / 448.1 MB, free: 19.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004221/0.2119, allocations: 198.3 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.317e-05/0.2119, allocations: 82.47 kB / 448.3 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.957e-05/0.212, allocations: 10.17 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.212, allocations: 13.59 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.212, allocations: 3.344 kB / 448.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of Templates: time 0.003565/0.2156, allocations: 0.6661 MB / 449 MB, free: 18.85 MB / 366.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: 4.953616574406624]