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.0009595/0.0009594, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001121, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1926/0.1926, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002663, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1134, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002727/0.1162, allocations: 2.311 MB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1175, allocations: 0.7052 MB / 486.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.1179, allocations: 11.94 kB / 486.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.1181, allocations: 39.64 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.1185, allocations: 71.39 kB / 486.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.1189, allocations: 83.91 kB / 486.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.1194, allocations: 322.6 kB / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.1197, allocations: 69.75 kB / 486.8 MB, free: 468 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.1201, allocations: 115.5 kB / 486.9 MB, free: 352 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.1204, allocations: 123.3 kB / 487 MB, free: 228 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.1204, allocations: 12 kB / 487 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1206, allocations: 23.94 kB / 487 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.1206, allocations: 43.78 kB / 487.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.1209, allocations: 165 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.1212, allocations: 275 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1213, allocations: 0 / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1213, allocations: 4 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.1213, allocations: 0 / 487.5 MB, free: 15.7 MB / 366.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.0009421/0.1222, allocations: 0.5535 MB / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1223, allocations: 16.88 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.208e-05/0.1224, allocations: 62.72 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.1227, allocations: 52.55 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.123, allocations: 276.7 kB / 488.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.123, allocations: 16.94 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.1231, allocations: 32.28 kB / 488.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.1236, allocations: 290 kB / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.1236, allocations: 8 kB / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.1236, allocations: 7.984 kB / 488.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1237, allocations: 12 kB / 488.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.1241, allocations: 199.8 kB / 489 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.1257, allocations: 1.317 MB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1261, allocations: 250.5 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.1263, allocations: 119.4 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1263, allocations: 8.141 kB / 490.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1264, allocations: 42.5 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.1264, allocations: 0 / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002556/0.1289, allocations: 1.635 MB / 492.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.129, allocations: 140.5 kB / 492.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1292, allocations: 221 kB / 492.7 MB, free: 9.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.1292, allocations: 33.7 kB / 492.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1293, allocations: 176.2 kB / 492.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/0.1294, allocations: 118.3 kB / 493.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.1295, allocations: 37.7 kB / 493.1 MB, free: 9.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1296, allocations: 342.8 kB / 493.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.1299, allocations: 112.8 kB / 493.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.1302, allocations: 253.4 kB / 493.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.1309, allocations: 380.8 kB / 494.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1309, allocations: 0 / 494.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008014/0.1317, allocations: 437.1 kB / 494.6 MB, free: 7.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1317, allocations: 4 kB / 494.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.1317, allocations: 8 kB / 494.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1318, allocations: 4 kB / 494.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.1321, allocations: 108.1 kB / 494.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.1322, allocations: 11.94 kB / 494.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1324, allocations: 31.98 kB / 494.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.1324, allocations: 19.98 kB / 494.8 MB, free: 7.762 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.0001352/0.1326, allocations: 153.9 kB / 494.9 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1327, allocations: 31.62 kB / 495 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.1327, allocations: 37.7 kB / 495 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1328, allocations: 7.938 kB / 495 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1328, allocations: 4 kB / 495 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1328, allocations: 0 / 495 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.1342, allocations: 1.013 MB / 496 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1342, allocations: 0 / 496 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.1346, allocations: 83.95 kB / 496.1 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1346, allocations: 7.938 kB / 496.1 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.1346, allocations: 15.92 kB / 496.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1346, allocations: 0 / 496.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1346, allocations: 4 kB / 496.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.1356, allocations: 0.769 MB / 496.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.1357, allocations: 96.95 kB / 497 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.1358, allocations: 16 kB / 497 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.1361, allocations: 19.98 kB / 497 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.1361, allocations: 31.89 kB / 497.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1362, allocations: 12 kB / 497.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1363, allocations: 164.5 kB / 497.2 MB, free: 5.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1363, allocations: 0 / 497.2 MB, free: 5.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004755/0.1368, allocations: 68 kB / 497.3 MB, free: 5.129 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.001213/0.138, allocations: 1.305 MB / 498.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006222/0.1386, allocations: 296.2 kB / 498.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1387, allocations: 0 / 498.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.1389, allocations: 148.1 kB / 499 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.1396, allocations: 38.89 kB / 499.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.1441, allocations: 3.799 MB / 0.4911 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1444, allocations: 0.7761 MB / 0.4918 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.1446, allocations: 34.95 kB / 0.4919 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.1447, allocations: 99.39 kB / 0.492 GB, free: 14.36 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1447, allocations: 0 / 0.492 GB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.1601, allocations: 4.855 MB / 0.4967 GB, free: 9.625 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.1603, allocations: 188.8 kB / 0.4969 GB, free: 9.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.02, allocations: 0 / 0.4969 GB, free: 9.367 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