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.00117/0.00117, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001133/0.001133, allocations: 170 kB / 23.94 MB, free: 0.6172 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 0.9417/0.9417, allocations: 177.1 MB / 204.2 MB, free: 5.723 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.2695/0.2695, allocations: 34.25 MB / 294.9 MB, free: 0.7227 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: "" <> 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 1.853e-06/1.853e-06, allocations: 0 / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.977e-05, allocations: 2.281 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.001939/0.001959, allocations: 1.651 MB / 443.8 MB, free: 20 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2039/0.2059, allocations: 80.77 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-05/0.206, allocations: 5 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.206, allocations: 10.73 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.206, allocations: 12.19 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.2062, allocations: 32.2 kB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.08e-05/0.2063, allocations: 79.95 kB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.2065, allocations: 33.08 kB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.993e-05/0.2066, allocations: 49.22 kB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.2066, allocations: 26.75 kB / 444.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.2067, allocations: 8.562 kB / 444.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.2067, allocations: 8.312 kB / 444.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.2067, allocations: 20.31 kB / 444.2 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.2067, allocations: 25.25 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.2069, allocations: 74.59 kB / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2069, allocations: 0 / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2069, allocations: 0 / 444.3 MB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.2069, allocations: 0.7188 kB / 444.3 MB, free: 43.23 MB / 410.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.0004006/0.2073, allocations: 333.1 kB / 444.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2073, allocations: 8.719 kB / 444.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.2073, allocations: 37.56 kB / 444.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.2074, allocations: 17.97 kB / 444.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.2076, allocations: 148.1 kB / 444.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.2076, allocations: 3.5 kB / 444.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.2076, allocations: 13.72 kB / 444.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.2078, allocations: 119.5 kB / 444.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2078, allocations: 0 / 444.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2078, allocations: 2.938 kB / 444.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2078, allocations: 5.438 kB / 444.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.2079, allocations: 78.08 kB / 445 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.2083, allocations: 403.4 kB / 445.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.2084, allocations: 77.53 kB / 445.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.2085, allocations: 34.77 kB / 445.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.2085, allocations: 3.344 kB / 445.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.2085, allocations: 37.09 kB / 445.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.2085, allocations: 0 / 445.6 MB, free: 42.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002732/0.2088, allocations: 130.8 kB / 445.7 MB, free: 42.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.2088, allocations: 53.88 kB / 445.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.2089, allocations: 134.8 kB / 445.9 MB, free: 42.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.2089, allocations: 29.27 kB / 445.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.2089, allocations: 108.7 kB / 446 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.209, allocations: 29.53 kB / 446 MB, free: 41.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.209, allocations: 26.95 kB / 446.1 MB, free: 41.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.209, allocations: 317.4 kB / 446.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/0.2091, allocations: 28.25 kB / 446.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.2091, allocations: 45.17 kB / 446.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.2093, allocations: 80.22 kB / 446.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2093, allocations: 0 / 446.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001322/0.2094, allocations: 109.3 kB / 446.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2094, allocations: 5.844 kB / 446.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2094, allocations: 0 / 446.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2094, allocations: 0 / 446.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.2095, allocations: 28.27 kB / 446.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.2095, allocations: 0 / 446.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.2096, allocations: 13.08 kB / 446.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2096, allocations: 6.5 kB / 446.7 MB, free: 41.54 MB / 410.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 5.703e-05/0.2096, allocations: 116.4 kB / 446.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.2096, allocations: 10.67 kB / 446.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.2098, allocations: 114.8 kB / 446.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2098, allocations: 0 / 446.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2098, allocations: 7 kB / 446.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2098, allocations: 0 / 446.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2099, allocations: 164.6 kB / 447.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2099, allocations: 5.156 kB / 447.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.21, allocations: 15.16 kB / 447.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.21, allocations: 6.656 kB / 447.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.21, allocations: 0 / 447.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.21, allocations: 0 / 447.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.21, allocations: 0 / 447.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2101, allocations: 208.6 kB / 447.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.2101, allocations: 10.58 kB / 447.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.2101, allocations: 2.625 kB / 447.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.2102, allocations: 6.203 kB / 447.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.2102, allocations: 9.094 kB / 447.3 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2102, allocations: 3.594 kB / 447.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.128e-05/0.2103, allocations: 99.48 kB / 447.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2103, allocations: 2.062 kB / 447.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.2104, allocations: 14.09 kB / 447.5 MB, free: 40.98 MB / 410.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 0.0002383/0.2106, allocations: 0.7348 MB / 448.2 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.2108, allocations: 64.02 kB / 448.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2108, allocations: 0 / 448.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.108e-05/0.2108, allocations: 34.75 kB / 448.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.211, allocations: 15.62 kB / 448.3 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009301/0.212, allocations: 1.522 MB / 449.8 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.487e-05/0.212, allocations: 82.84 kB / 449.9 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.738e-05/0.2121, allocations: 10.84 kB / 449.9 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.2121, allocations: 27.41 kB / 450 MB, free: 39.02 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2121, allocations: 0 / 450 MB, free: 39.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.2289, allocations: 2.671 MB / 452.6 MB, free: 38.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/7.079, allocations: 0 / 452.6 MB, free: 38.08 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable oneExponent.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable oneExponent.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable zeroExponent.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable zeroExponent.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! Error: Could not read variable sqrtExponent.y in file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv. Warning: Get data of variable sqrtExponent.y from file ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.253917169757187]