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.001367/0.001367, allocations: 112.4 kB / 20.48 MB, free: 1.27 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.001402/0.001402, allocations: 216 kB / 23.77 MB, free: 4.445 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.529/1.529, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2618/0.2618, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] 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.002466/0.002466, allocations: 80.11 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4405, allocations: 66.07 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.003623/0.4441, allocations: 1.663 MB / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.4444, allocations: 67.77 kB / 0.5624 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.4445, allocations: 7.938 kB / 0.5624 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.4445, allocations: 7.875 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.4446, allocations: 11.81 kB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.4448, allocations: 35.94 kB / 0.5625 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.4449, allocations: 75.83 kB / 0.5626 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.4451, allocations: 43.39 kB / 0.5626 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.4452, allocations: 39.8 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.314e-05/0.4453, allocations: 31.78 kB / 0.5627 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.4453, allocations: 8 kB / 0.5627 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.4453, allocations: 4 kB / 0.5627 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.4454, allocations: 23.91 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.4454, allocations: 31.8 kB / 0.5627 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.4456, allocations: 75.59 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4456, allocations: 0 / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4456, allocations: 0 / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.4456, allocations: 4 kB / 0.5628 GB, free: 1.875 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.0005837/0.4462, allocations: 322.2 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4462, allocations: 15.97 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.4463, allocations: 38.75 kB / 0.5632 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.4463, allocations: 16.78 kB / 0.5632 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.4466, allocations: 161.6 kB / 0.5633 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.4466, allocations: 8.562 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.4466, allocations: 8.375 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.4469, allocations: 123.4 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4469, allocations: 0 / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4469, allocations: 0 / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4469, allocations: 4 kB / 0.5635 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.4472, allocations: 71.89 kB / 0.5635 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.4478, allocations: 403.8 kB / 0.5639 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.448, allocations: 86.45 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.4481, allocations: 32.83 kB / 0.564 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.4482, allocations: 4 kB / 0.564 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.4482, allocations: 30.56 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.4482, allocations: 0 / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004542/0.4487, allocations: 125.8 kB / 0.5642 GB, free: 312 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.4487, allocations: 59.41 kB / 0.5643 GB, free: 240 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4488, allocations: 130.1 kB / 0.5644 GB, free: 100 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.4489, allocations: 25.7 kB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.449, allocations: 116.2 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.449, allocations: 23.81 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.449, allocations: 21.7 kB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4492, allocations: 318.8 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.4493, allocations: 27.97 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.4494, allocations: 41.69 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.4496, allocations: 73.69 kB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4496, allocations: 3.938 kB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002659/0.4499, allocations: 109.8 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4499, allocations: 4 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4499, allocations: 4 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4499, allocations: 32 / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4501, allocations: 23.98 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4501, allocations: 8 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.4501, allocations: 11.92 kB / 0.5652 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.4502, allocations: 4.188 kB / 0.5652 GB, free: 15.25 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.0001081/0.4503, allocations: 119.1 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.4503, allocations: 19.83 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.4506, allocations: 110.3 kB / 0.5654 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4506, allocations: 4 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4506, allocations: 0 / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4506, allocations: 0 / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.4508, allocations: 172.5 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4508, allocations: 0 / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.4509, allocations: 19.98 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4509, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.4509, allocations: 4 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4509, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4509, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.4512, allocations: 203.4 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.4513, allocations: 15.89 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.4513, allocations: 0 / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.4514, allocations: 8 kB / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4514, allocations: 15.91 kB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4514, allocations: 0 / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.744e-05/0.4515, allocations: 109.6 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4515, allocations: 0 / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.4517, allocations: 8 kB / 0.5659 GB, free: 14.38 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.0006586/0.4524, allocations: 0.7241 MB / 0.5666 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.4527, allocations: 71.88 kB / 0.5667 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4527, allocations: 0 / 0.5667 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.4528, allocations: 35.92 kB / 0.5667 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.4531, allocations: 7.984 kB / 0.5667 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.455, allocations: 1.512 MB / 0.5682 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.048e-05/0.4551, allocations: 85.31 kB / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.789e-05/0.4551, allocations: 8.438 kB / 0.5683 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.4552, allocations: 27.42 kB / 0.5683 GB, free: 11.78 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4552, allocations: 4 kB / 0.5683 GB, free: 11.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.487, allocations: 2.616 MB / 0.5709 GB, free: 9.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.77, allocations: 14.33 kB / 0.5709 GB, free: 9.246 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv","/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] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable oneExponent.y in file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable oneExponent.y from file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable zeroExponent.y in file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable zeroExponent.y from file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable sqrtExponent.y in file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable sqrtExponent.y from file ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.010905118018854]