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.0009805/0.0009805, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001057/0.001057, allocations: 167.5 kB / 24.99 MB, free: 8.355 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.258 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.2838/0.2838, allocations: 34.25 MB / 296 MB, free: 0.7461 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 2.214e-06/2.214e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/3.761e-05, allocations: 9.344 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002916/0.002954, allocations: 1.701 MB / 379.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.003214, allocations: 71.69 kB / 379.8 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.502e-05/0.003299, allocations: 7.938 kB / 379.8 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.003336, allocations: 11.86 kB / 379.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.003391, allocations: 11.88 kB / 379.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.003551, allocations: 27.97 kB / 379.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.003647, allocations: 87.75 kB / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.003771, allocations: 21.58 kB / 379.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.003874, allocations: 55.81 kB / 380 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.003923, allocations: 27.91 kB / 380 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.003949, allocations: 8 kB / 380 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-06/0.003958, allocations: 8 kB / 380 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.00398, allocations: 15.91 kB / 380.1 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.00401, allocations: 23.92 kB / 380.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.004114, allocations: 63.73 kB / 380.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004116, allocations: 0 / 380.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004117, allocations: 0 / 380.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004122, allocations: 7.938 kB / 380.2 MB, free: 0.8438 MB / 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.0004971/0.004619, allocations: 416.4 kB / 380.6 MB, free: 408 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.004655, allocations: 8.031 kB / 380.6 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.004702, allocations: 20.84 kB / 380.6 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.004872, allocations: 152.5 kB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.004893, allocations: 4.562 kB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.004907, allocations: 12.38 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.00509, allocations: 122.5 kB / 380.9 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.005098, allocations: 0 / 380.9 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.00511, allocations: 8 kB / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.00512, allocations: 0 / 380.9 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.005183, allocations: 35.91 kB / 380.9 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.005587, allocations: 474.5 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/0.005683, allocations: 74.88 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.005716, allocations: 19.7 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.005734, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.005759, allocations: 41.39 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 7.41e-07/0.00576, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001851/0.005945, allocations: 77.61 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.005975, allocations: 55.42 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.006055, allocations: 181.9 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.006064, allocations: 25.7 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.006256, allocations: 162.7 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.006272, allocations: 27.78 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.006304, allocations: 27.38 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.006421, allocations: 0.4884 MB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.006442, allocations: 8 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.006471, allocations: 31.36 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.006522, allocations: 51.61 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006524, allocations: 0 / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.092e-05/0.006605, allocations: 69.64 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.006618, allocations: 16.02 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.006625, allocations: 7.938 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.006637, allocations: 0 / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.006714, allocations: 19.94 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.006721, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.00675, allocations: 11.94 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.006756, allocations: 4 kB / 382.8 MB, free: 14 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 6.378e-05/0.006819, allocations: 156.6 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.006837, allocations: 11.95 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.006949, allocations: 85.97 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.00695, allocations: 4 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.006954, allocations: 0 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006957, allocations: 0 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.007063, allocations: 136.6 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007064, allocations: 0 / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.007105, allocations: 23.92 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.007108, allocations: 4 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.007115, allocations: 0 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.007117, allocations: 3.938 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007117, allocations: 0 / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.007228, allocations: 219.8 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.007236, allocations: 15.89 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.007248, allocations: 3.984 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.641e-05/0.007284, allocations: 11.94 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.007317, allocations: 3.984 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.00732, allocations: 4 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.779e-05/0.007358, allocations: 135.2 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007358, allocations: 0 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.007505, allocations: 19.95 kB / 383.6 MB, free: 13.11 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 6.401e-05/0.007569, allocations: 91.25 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.007673, allocations: 47.61 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007674, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.007702, allocations: 27.67 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.007869, allocations: 5.875 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.008157, allocations: 201.8 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.008192, allocations: 67.28 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.175e-05/0.008224, allocations: 8.797 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.008258, allocations: 12.5 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008258, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.002264/0.01052, allocations: 0.6888 MB / 384.7 MB, free: 11.91 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.1288352489937097]