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.001768/0.001768, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001975/0.001975, allocations: 211 kB / 23.73 MB, free: 4.523 MB / 14.72 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.247/0.247, allocations: 46.94 MB / 360.9 MB, free: 4.051 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 67.88 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3884, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.00301/0.3915, allocations: 1.657 MB / 0.5622 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000271/0.3917, allocations: 67.77 kB / 0.5623 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.3918, allocations: 3.938 kB / 0.5623 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.3918, allocations: 11.88 kB / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.3919, allocations: 15.8 kB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.3921, allocations: 35.95 kB / 0.5623 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3922, allocations: 79.83 kB / 0.5624 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3924, allocations: 43.39 kB / 0.5625 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.3925, allocations: 39.8 kB / 0.5625 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.3925, allocations: 35.78 kB / 0.5625 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3925, allocations: 4 kB / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.171e-05/0.3926, allocations: 8 kB / 0.5625 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.3926, allocations: 23.91 kB / 0.5626 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.3926, allocations: 31.8 kB / 0.5626 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3928, allocations: 79.59 kB / 0.5627 GB, free: 2.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3928, allocations: 0 / 0.5627 GB, free: 2.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3928, allocations: 0 / 0.5627 GB, free: 2.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3928, allocations: 0 / 0.5627 GB, free: 2.082 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.0005395/0.3933, allocations: 322.2 kB / 0.563 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3934, allocations: 12.03 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.3934, allocations: 38.75 kB / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.3935, allocations: 20.78 kB / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.3937, allocations: 150.3 kB / 0.5632 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3937, allocations: 8.562 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3938, allocations: 4.375 kB / 0.5632 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.394, allocations: 123.4 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.394, allocations: 4 kB / 0.5633 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.394, allocations: 4 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.394, allocations: 0 / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.3943, allocations: 71.89 kB / 0.5634 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.395, allocations: 407.8 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.3952, allocations: 78.42 kB / 0.5639 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3953, allocations: 40.8 kB / 0.5639 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3953, allocations: 4 kB / 0.5639 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3953, allocations: 30.56 kB / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3953, allocations: 0 / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004234/0.3957, allocations: 134 kB / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3958, allocations: 55.41 kB / 0.5641 GB, free: 452 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3959, allocations: 134.1 kB / 0.5642 GB, free: 308 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3959, allocations: 25.7 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.396, allocations: 108.2 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.396, allocations: 27.75 kB / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.3961, allocations: 21.7 kB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3962, allocations: 318.8 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3963, allocations: 27.97 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3964, allocations: 41.69 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.3966, allocations: 73.69 kB / 0.5648 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3966, allocations: 7.938 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002656/0.3969, allocations: 109.5 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3969, allocations: 4 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3969, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3969, allocations: 4 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3971, allocations: 20.02 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3971, allocations: 7.938 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.3971, allocations: 11.92 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3971, allocations: 8 kB / 0.565 GB, free: 15.45 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 9.684e-05/0.3972, allocations: 121.7 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.3973, allocations: 7.953 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3976, allocations: 110.3 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3976, allocations: 4 kB / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3976, allocations: 0 / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3976, allocations: 0 / 0.5652 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3978, allocations: 168.6 kB / 0.5654 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3978, allocations: 3.938 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.703e-05/0.3979, allocations: 19.98 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3979, allocations: 0 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3979, allocations: 0 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3979, allocations: 0 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3979, allocations: 4.172 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.3982, allocations: 207.4 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.3982, allocations: 19.83 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.3983, allocations: 4 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.3984, allocations: 4 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3984, allocations: 11.92 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3984, allocations: 0 / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.412e-05/0.3985, allocations: 106.4 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3985, allocations: 0 / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.3987, allocations: 11.98 kB / 0.5658 GB, free: 14.59 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.0006237/0.3993, allocations: 0.7241 MB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.3996, allocations: 72.27 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3996, allocations: 0 / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3997, allocations: 35.98 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4, allocations: 11.92 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.4018, allocations: 1.506 MB / 0.5681 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.749e-05/0.4019, allocations: 85.31 kB / 0.5682 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.623e-05/0.402, allocations: 8.438 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.402, allocations: 31.42 kB / 0.5682 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.402, allocations: 0 / 0.5682 GB, free: 11.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.4286, allocations: 2.578 MB / 0.5707 GB, free: 9.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.2, allocations: 7.609 kB / 0.5707 GB, free: 9.531 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_Exponentiation.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 14.345328945986694]