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.001696/0.001696, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.002017/0.002017, allocations: 206 kB / 23.72 MB, free: 4.492 MB / 14.72 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.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2234/0.2234, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 79.88 kB / 0.4961 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3222, allocations: 66.09 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003142/0.3254, allocations: 1.655 MB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002871/0.3257, allocations: 67.7 kB / 0.5624 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.3258, allocations: 4 kB / 0.5624 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/0.3258, allocations: 11.81 kB / 0.5624 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.3259, allocations: 15.86 kB / 0.5624 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.326, allocations: 35.95 kB / 0.5624 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.3262, allocations: 79.83 kB / 0.5625 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.3264, allocations: 39.39 kB / 0.5625 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.3265, allocations: 39.8 kB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.3265, allocations: 39.77 kB / 0.5626 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3265, allocations: 4 kB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.3266, allocations: 8 kB / 0.5626 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.3266, allocations: 19.92 kB / 0.5626 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.3266, allocations: 31.8 kB / 0.5627 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.3268, allocations: 79.53 kB / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3268, allocations: 0 / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3268, allocations: 0 / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3268, allocations: 0 / 0.5628 GB, free: 1.902 MB / 398.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.0005864/0.3274, allocations: 322.2 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3275, allocations: 12.03 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/0.3275, allocations: 38.75 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.3276, allocations: 16.84 kB / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.3278, allocations: 142.3 kB / 0.5633 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.3279, allocations: 8.562 kB / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3279, allocations: 16.31 kB / 0.5633 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.3282, allocations: 122.8 kB / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3282, allocations: 0 / 0.5634 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3282, allocations: 8 kB / 0.5634 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3282, allocations: 0 / 0.5634 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.3284, allocations: 75.89 kB / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.3291, allocations: 407.8 kB / 0.5639 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.3293, allocations: 82.42 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3294, allocations: 32.86 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3294, allocations: 3.938 kB / 0.564 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3295, allocations: 38.56 kB / 0.564 GB, free: 472 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3295, allocations: 0 / 0.564 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004558/0.3299, allocations: 134 kB / 0.5641 GB, free: 332 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.33, allocations: 55.41 kB / 0.5642 GB, free: 264 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3301, allocations: 130.1 kB / 0.5643 GB, free: 124 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3301, allocations: 29.7 kB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.3302, allocations: 108.2 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3303, allocations: 23.81 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.3303, allocations: 21.7 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3305, allocations: 318.8 kB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3306, allocations: 31.97 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3307, allocations: 37.69 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.3309, allocations: 73.62 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.3309, allocations: 7.938 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002634/0.3311, allocations: 105.6 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3311, allocations: 4 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3312, allocations: 0 / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3312, allocations: 0 / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3313, allocations: 27.95 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3313, allocations: 4 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/0.3314, allocations: 15.92 kB / 0.5651 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3314, allocations: 0 / 0.5651 GB, free: 15.28 MB / 414.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.0001056/0.3315, allocations: 119.1 kB / 0.5652 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.3315, allocations: 7.953 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.3318, allocations: 114.3 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3318, allocations: 11.94 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3318, allocations: 0 / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3318, allocations: 0 / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.332, allocations: 168.6 kB / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.332, allocations: 0 / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.87e-05/0.3321, allocations: 15.98 kB / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3321, allocations: 4 kB / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3321, allocations: 0 / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3321, allocations: 0 / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3321, allocations: 0 / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3324, allocations: 211.5 kB / 0.5657 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.3325, allocations: 15.89 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3325, allocations: 7.938 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.3326, allocations: 4 kB / 0.5657 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.3326, allocations: 7.984 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3326, allocations: 4 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.182e-05/0.3327, allocations: 100.8 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3327, allocations: 0 / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.3329, allocations: 19.98 kB / 0.5659 GB, free: 14.41 MB / 414.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.0006501/0.3336, allocations: 0.724 MB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.3338, allocations: 68.33 kB / 0.5666 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3338, allocations: 0 / 0.5666 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.334, allocations: 35.92 kB / 0.5667 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.3342, allocations: 14.02 kB / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.3361, allocations: 1.513 MB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.733e-05/0.3362, allocations: 89.3 kB / 0.5683 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.896e-05/0.3363, allocations: 8.531 kB / 0.5683 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.3363, allocations: 31.36 kB / 0.5683 GB, free: 11.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3363, allocations: 0 / 0.5683 GB, free: 11.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.3649, allocations: 2.532 MB / 0.5708 GB, free: 9.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.08, allocations: 4.062 kB / 0.5708 GB, free: 9.359 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 13.898407256230712]