Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001068, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.1 MB / 343.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 77.69 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003866/0.1268, allocations: 2.685 MB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1282, allocations: 0.7128 MB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.1285, allocations: 11.94 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.1287, allocations: 35.7 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.129, allocations: 67.39 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1294, allocations: 91.91 kB / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004647/0.1299, allocations: 338.5 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.1301, allocations: 81.95 kB / 483.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.1304, allocations: 123.6 kB / 483.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1306, allocations: 135.3 kB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.1306, allocations: 24 kB / 483.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.998e-05/0.1307, allocations: 28 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.1308, allocations: 55.77 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1309, allocations: 147.2 kB / 484.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.1313, allocations: 307.1 kB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1313, allocations: 0 / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1313, allocations: 0 / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.1313, allocations: 4 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001003/0.1323, allocations: 0.5885 MB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1324, allocations: 8.031 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.512e-05/0.1325, allocations: 66.66 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.1328, allocations: 52.55 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1331, allocations: 272.7 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1331, allocations: 20.94 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.1332, allocations: 24.38 kB / 485.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.1337, allocations: 290 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.1337, allocations: 3.906 kB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.1338, allocations: 15.94 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.1338, allocations: 7.984 kB / 485.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.1342, allocations: 182.5 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.136, allocations: 1.306 MB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.1364, allocations: 258.5 kB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.1366, allocations: 99.39 kB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1367, allocations: 4 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1367, allocations: 42.56 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.1367, allocations: 0 / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002728/0.1394, allocations: 1.565 MB / 489.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.1395, allocations: 136.5 kB / 489.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1398, allocations: 224.9 kB / 489.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.1398, allocations: 29.7 kB / 489.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.14, allocations: 184.4 kB / 489.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1401, allocations: 114.3 kB / 489.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1402, allocations: 74.05 kB / 489.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1404, allocations: 338.8 kB / 490.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.1406, allocations: 96.81 kB / 490.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.141, allocations: 237.5 kB / 490.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.1416, allocations: 377.1 kB / 490.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1416, allocations: 0 / 490.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007643/0.1424, allocations: 392.8 kB / 491.3 MB, free: 9.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1424, allocations: 8 kB / 491.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1424, allocations: 4 kB / 491.3 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1425, allocations: 8 kB / 491.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.1428, allocations: 99.81 kB / 491.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.1429, allocations: 8 kB / 491.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.1431, allocations: 32.19 kB / 491.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.1431, allocations: 20.78 kB / 491.5 MB, free: 8.883 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001624/0.1433, allocations: 157.6 kB / 491.7 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1434, allocations: 27.66 kB / 491.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.1435, allocations: 37.7 kB / 491.7 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1435, allocations: 4 kB / 491.7 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1435, allocations: 0 / 491.7 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1435, allocations: 240 / 491.7 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.145, allocations: 0.9899 MB / 492.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.145, allocations: 4.062 kB / 492.7 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.1454, allocations: 79.98 kB / 492.8 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.1454, allocations: 11.92 kB / 492.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.1455, allocations: 15.92 kB / 492.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1455, allocations: 0 / 492.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1455, allocations: 8.062 kB / 492.8 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009898/0.1465, allocations: 0.7256 MB / 493.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.1466, allocations: 100.7 kB / 493.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.1466, allocations: 12 kB / 493.7 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1469, allocations: 19.98 kB / 493.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.743e-05/0.147, allocations: 27.95 kB / 493.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.147, allocations: 12 kB / 493.7 MB, free: 6.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1472, allocations: 164.4 kB / 493.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1472, allocations: 0 / 493.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004744/0.1476, allocations: 64 kB / 494 MB, free: 6.324 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.001223/0.1489, allocations: 1.262 MB / 495.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006155/0.1495, allocations: 288.5 kB / 495.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1495, allocations: 4.125 kB / 495.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.1498, allocations: 127.8 kB / 495.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.1505, allocations: 52.09 kB / 495.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.1551, allocations: 3.619 MB / 499.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1555, allocations: 0.7758 MB / 0.4883 GB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.1557, allocations: 34.95 kB / 0.4884 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.1559, allocations: 95.34 kB / 0.4885 GB, free: 15.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1559, allocations: 0 / 0.4885 GB, free: 15.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.1745, allocations: 5.07 MB / 0.4934 GB, free: 10.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.1748, allocations: 188.2 kB / 0.4936 GB, free: 10.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.133, allocations: 0 / 0.4936 GB, free: 10.58 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches