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.001156/0.001156, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001273/0.001273, allocations: 166 kB / 24.82 MB, free: 9.266 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 1.217/1.217, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3477/0.3477, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 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 2.635e-06/2.635e-06, allocations: 0 / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.852e-05, allocations: 5.547 kB / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003361/0.003399, allocations: 1.694 MB / 380.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003989/0.003798, allocations: 71.69 kB / 380.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.003932, allocations: 4 kB / 380.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.454e-05/0.003987, allocations: 15.8 kB / 380.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.356e-05/0.00408, allocations: 15.88 kB / 380.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.004301, allocations: 23.97 kB / 380.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.004443, allocations: 87.75 kB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.004617, allocations: 21.58 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.004764, allocations: 59.81 kB / 380.5 MB, free: 416 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.004834, allocations: 23.91 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.004864, allocations: 8 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.004881, allocations: 8 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.004911, allocations: 15.91 kB / 380.5 MB, free: 360 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.004952, allocations: 23.94 kB / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.005096, allocations: 67.73 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005099, allocations: 0 / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.0051, allocations: 0 / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.005106, allocations: 0 / 380.6 MB, free: 268 kB / 346.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.0005507/0.005656, allocations: 420.4 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.005711, allocations: 8.031 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.005768, allocations: 28.78 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.00599, allocations: 148.4 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.006015, allocations: 8.562 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.006031, allocations: 12.38 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.006264, allocations: 117.8 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.006278, allocations: 3.938 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.006289, allocations: 0 / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.006299, allocations: 4 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.006362, allocations: 27.97 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.006923, allocations: 459.1 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.007042, allocations: 50.95 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.007083, allocations: 23.72 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.007113, allocations: 8 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.007142, allocations: 33.39 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.007144, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002291/0.007373, allocations: 73.83 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.007417, allocations: 55.41 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.007552, allocations: 181.8 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.007572, allocations: 33.7 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.007676, allocations: 154.7 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.007703, allocations: 27.78 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.007749, allocations: 23.38 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.007958, allocations: 0.4961 MB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.007985, allocations: 7.984 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.008024, allocations: 27.36 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.008096, allocations: 39.36 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.008098, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001351/0.008233, allocations: 73.59 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.008251, allocations: 8 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.008259, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.008282, allocations: 11.92 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.008388, allocations: 16 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.008398, allocations: 7.922 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.008438, allocations: 7.953 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.008447, allocations: 4 kB / 383.2 MB, free: 13.48 MB / 362.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 0.0001056/0.008552, allocations: 160.5 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.008585, allocations: 11.95 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.00875, allocations: 74.11 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.008754, allocations: 3.938 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.008757, allocations: 0 / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.008763, allocations: 0 / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.008948, allocations: 125.2 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.00895, allocations: 0 / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.009017, allocations: 15.94 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.00902, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.009028, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.009032, allocations: 4 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.009033, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.009245, allocations: 223.8 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.009264, allocations: 15.89 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.009278, allocations: 0 / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.066e-05/0.009338, allocations: 4 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.009387, allocations: 3.984 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.009396, allocations: 7.938 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.782e-05/0.009473, allocations: 142.4 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009474, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.009739, allocations: 15.95 kB / 384 MB, free: 12.62 MB / 362.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 0.000115/0.009854, allocations: 95.25 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.00999, allocations: 43.64 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.009992, allocations: 0 / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.01003, allocations: 23.62 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.01032, allocations: 11.98 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.01075, allocations: 190.5 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.01081, allocations: 63.28 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.989e-05/0.01086, allocations: 12.78 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.01096, allocations: 78.2 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01096, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003413/0.01437, allocations: 0.7476 MB / 385.2 MB, free: 11.3 MB / 362.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: 3.4582335902377963]