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.001688/0.001688, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.002027/0.002027, allocations: 222.2 kB / 21.46 MB, free: 1.582 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.505/1.505, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2217/0.2217, allocations: 46.92 MB / 357.7 MB, free: 10.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Exponentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 83.86 kB / 0.4916 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1362, allocations: 66.05 MB / 0.5561 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002952/0.1391, allocations: 1.688 MB / 0.5578 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002588/0.1394, allocations: 77.34 kB / 0.5579 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.1394, allocations: 7.938 kB / 0.5579 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/0.1395, allocations: 11.86 kB / 0.5579 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.1395, allocations: 7.875 kB / 0.5579 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.1397, allocations: 31.97 kB / 0.5579 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1398, allocations: 79.77 kB / 0.558 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.14, allocations: 41.36 kB / 0.558 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.1401, allocations: 31.86 kB / 0.5581 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.1401, allocations: 43.77 kB / 0.5581 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1401, allocations: 8 kB / 0.5581 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.1402, allocations: 8 kB / 0.5581 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.1402, allocations: 15.92 kB / 0.5581 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.1402, allocations: 39.73 kB / 0.5582 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1404, allocations: 79.53 kB / 0.5583 GB, free: 3.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1404, allocations: 0 / 0.5583 GB, free: 3.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1404, allocations: 3.938 kB / 0.5583 GB, free: 3.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.1404, allocations: 4 kB / 0.5583 GB, free: 3.371 MB / 414.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.0006124/0.141, allocations: 399.3 kB / 0.5586 GB, free: 2.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.141, allocations: 12.03 kB / 0.5587 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.381e-05/0.1411, allocations: 384 / 0.5587 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.1411, allocations: 38.75 kB / 0.5587 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.1411, allocations: 16.83 kB / 0.5587 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1414, allocations: 220.1 kB / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1415, allocations: 0.5625 kB / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1415, allocations: 16.12 kB / 0.5589 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1418, allocations: 107.4 kB / 0.559 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1418, allocations: 0 / 0.559 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1418, allocations: 4 kB / 0.559 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1418, allocations: 7.984 kB / 0.5591 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.1421, allocations: 83.83 kB / 0.5591 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.1428, allocations: 452.7 kB / 0.5596 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.143, allocations: 82.56 kB / 0.5596 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1431, allocations: 24.84 kB / 0.5597 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1431, allocations: 7.938 kB / 0.5597 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1432, allocations: 34.56 kB / 0.5597 GB, free: 1.711 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.1432, allocations: 0 / 0.5597 GB, free: 1.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004531/0.1436, allocations: 133.8 kB / 0.5598 GB, free: 1.574 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.1437, allocations: 51.41 kB / 0.5599 GB, free: 1.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1438, allocations: 135.9 kB / 0.56 GB, free: 1.371 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1438, allocations: 29.7 kB / 0.56 GB, free: 1.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1439, allocations: 104.3 kB / 0.5601 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.144, allocations: 27.75 kB / 0.5602 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.144, allocations: 21.7 kB / 0.5602 GB, free: 1.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1442, allocations: 326.8 kB / 0.5605 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1443, allocations: 27.98 kB / 0.5605 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1444, allocations: 41.69 kB / 0.5606 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.1446, allocations: 73.61 kB / 0.5606 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1446, allocations: 0 / 0.5606 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002683/0.1449, allocations: 113.5 kB / 0.5607 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1449, allocations: 8 kB / 0.5608 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1449, allocations: 3.938 kB / 0.5608 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1449, allocations: 0 / 0.5608 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.145, allocations: 19.98 kB / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1451, allocations: 0 / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.1451, allocations: 15.92 kB / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1451, allocations: 4 kB / 0.5608 GB, free: 0.5234 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.573e-05/0.1452, allocations: 121.8 kB / 0.5609 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1453, allocations: 7.953 kB / 0.5609 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.1456, allocations: 110.3 kB / 0.561 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1456, allocations: 0 / 0.561 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1456, allocations: 3.984 kB / 0.561 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1456, allocations: 0 / 0.561 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.1458, allocations: 197.5 kB / 0.5612 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1458, allocations: 4 kB / 0.5612 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.1459, allocations: 19.98 kB / 0.5612 GB, free: 0 / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.1459, allocations: 64 / 0.5612 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.146, allocations: 7.922 kB / 0.5612 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.146, allocations: 480 / 0.5612 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.146, allocations: 0 / 0.5612 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.1463, allocations: 211.5 kB / 0.5614 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.1463, allocations: 85.06 kB / 0.5615 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1464, allocations: 7.922 kB / 0.5615 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.1464, allocations: 4 kB / 0.5615 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.1465, allocations: 11.98 kB / 0.5616 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1465, allocations: 4 kB / 0.5616 GB, free: 15.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.088e-05/0.1466, allocations: 96.39 kB / 0.5616 GB, free: 15.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1466, allocations: 4 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1468, allocations: 15.94 kB / 0.5617 GB, free: 15.53 MB / 430.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.000716/0.1475, allocations: 0.7318 MB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.1478, allocations: 63.95 kB / 0.5624 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1478, allocations: 4.062 kB / 0.5624 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1479, allocations: 39.89 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.1482, allocations: 8 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.1503, allocations: 1.516 MB / 0.564 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1506, allocations: 0.6963 MB / 0.5647 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.1507, allocations: 12.42 kB / 0.5647 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.1508, allocations: 23.44 kB / 0.5647 GB, free: 12.3 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1508, allocations: 0 / 0.5647 GB, free: 12.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.1679, allocations: 2.018 MB / 0.5667 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.05, allocations: 4 kB / 0.5667 GB, free: 10.35 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.178187145036645]