Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.018/1.018, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2724/0.2724, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.298e-05, allocations: 6.25 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002951/0.002984, allocations: 1.697 MB / 380.5 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.003292, allocations: 75.75 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.051e-05/0.003383, allocations: 7.938 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.315e-05/0.003426, allocations: 7.875 kB / 380.5 MB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.003493, allocations: 15.8 kB / 380.6 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.003672, allocations: 27.95 kB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.003794, allocations: 83.77 kB / 380.7 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.003957, allocations: 29.56 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.004076, allocations: 47.89 kB / 380.7 MB, free: 108 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.004137, allocations: 31.89 kB / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.004163, allocations: 8 kB / 380.8 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.004178, allocations: 4 kB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.004202, allocations: 15.94 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.00424, allocations: 27.91 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.004385, allocations: 59.8 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004387, allocations: 0 / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.004388, allocations: 0 / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.004394, allocations: 0 / 380.9 MB, free: 15.96 MB / 362.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.000476/0.00487, allocations: 416.4 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.004914, allocations: 15.86 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.004967, allocations: 24.84 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.005184, allocations: 156.4 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.005209, allocations: 8.562 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.00523, allocations: 8.375 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.005461, allocations: 122.8 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.005472, allocations: 0 / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.005486, allocations: 4 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.005497, allocations: 8 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.407e-05/0.005581, allocations: 31.92 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.006102, allocations: 474.5 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.006229, allocations: 55.05 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.006273, allocations: 23.7 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.006297, allocations: 0 / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.006321, allocations: 33.39 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.006323, allocations: 4 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002189/0.006542, allocations: 89.62 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.006575, allocations: 51.41 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.006686, allocations: 181.9 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.006702, allocations: 29.7 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.006786, allocations: 154.7 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.006806, allocations: 19.8 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.006852, allocations: 35.36 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.006991, allocations: 496.1 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.007028, allocations: 15.98 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.00707, allocations: 35.3 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.946e-05/0.007139, allocations: 47.31 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.007143, allocations: 4 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001259/0.007269, allocations: 77.56 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.007282, allocations: 4 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.007289, allocations: 7.938 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.007305, allocations: 0 / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.007405, allocations: 15.98 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.007413, allocations: 4 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.007447, allocations: 7.891 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007454, allocations: 8.031 kB / 383.5 MB, free: 13.11 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 8.252e-05/0.007536, allocations: 160.6 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.00757, allocations: 15.88 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.007727, allocations: 78.05 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.007729, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007732, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007736, allocations: 0 / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.007892, allocations: 140.6 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.007894, allocations: 0 / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.007954, allocations: 12 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.007956, allocations: 4 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.007967, allocations: 8 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.00797, allocations: 7.922 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007971, allocations: 0 / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.008129, allocations: 220.3 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.008141, allocations: 11.89 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.008153, allocations: 0 / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.008214, allocations: 7.938 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.008255, allocations: 7.984 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.008261, allocations: 4 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.691e-05/0.008318, allocations: 142.5 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008318, allocations: 0 / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.008577, allocations: 15.95 kB / 384.3 MB, free: 12.22 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 7.697e-05/0.008654, allocations: 95.23 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.008782, allocations: 47.67 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008784, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.298e-05/0.008827, allocations: 31.61 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.009096, allocations: 11.91 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.009483, allocations: 205.9 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.219e-05/0.009535, allocations: 59.34 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.137e-05/0.009577, allocations: 8.719 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.009615, allocations: 16.5 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009615, allocations: 4 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of Templates: time 0.002818/0.01243, allocations: 0.6751 MB / 385.5 MB, free: 11.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.3175610271282494]