Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001473, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 79.47 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1274, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003292/0.1307, allocations: 1.671 MB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003446/0.1311, allocations: 111.6 kB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.1312, allocations: 0 / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.157e-05/0.1313, allocations: 15.86 kB / 481.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.1314, allocations: 39.69 kB / 482 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.1316, allocations: 27.92 kB / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1318, allocations: 123.5 kB / 482.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1319, allocations: 37.11 kB / 482.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.059e-05/0.132, allocations: 47.73 kB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.029e-05/0.1321, allocations: 55.77 kB / 482.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.1321, allocations: 12 kB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.84e-05/0.1322, allocations: 8 kB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.786e-05/0.1322, allocations: 19.92 kB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.1323, allocations: 55.73 kB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.1324, allocations: 119.9 kB / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1324, allocations: 4 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1324, allocations: 0 / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.1325, allocations: 4 kB / 482.5 MB, free: 2.836 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005332/0.133, allocations: 407.3 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1331, allocations: 11.97 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.1331, allocations: 42.75 kB / 482.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.1332, allocations: 20.73 kB / 482.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1334, allocations: 184.3 kB / 483.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1334, allocations: 8.609 kB / 483.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.1334, allocations: 24.22 kB / 483.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1336, allocations: 129.5 kB / 483.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1336, allocations: 7.938 kB / 483.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1337, allocations: 4 kB / 483.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1337, allocations: 4 kB / 483.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1338, allocations: 59.97 kB / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.1344, allocations: 0.5372 MB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1346, allocations: 97.06 kB / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.1346, allocations: 29.83 kB / 484 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.1346, allocations: 4 kB / 484 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1347, allocations: 30.56 kB / 484 MB, free: 1.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1347, allocations: 0 / 484 MB, free: 1.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005504/0.1352, allocations: 301.4 kB / 484.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1353, allocations: 89.03 kB / 484.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.1354, allocations: 121.8 kB / 484.5 MB, free: 484 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1354, allocations: 25.7 kB / 484.6 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.1355, allocations: 119.6 kB / 484.7 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1355, allocations: 31.55 kB / 484.7 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.1356, allocations: 33.7 kB / 484.7 MB, free: 256 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1357, allocations: 322.8 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/0.1358, allocations: 23.98 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.1358, allocations: 84.58 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.136, allocations: 120.5 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.136, allocations: 4 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002696/0.1363, allocations: 167 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1363, allocations: 4 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1363, allocations: 7.938 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.1365, allocations: 45.89 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.1366, allocations: 24 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.1385, allocations: 2.731 MB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.1386, allocations: 15.88 kB / 488.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1386, allocations: 8 kB / 488.3 MB, free: 12.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.578e-05/0.1387, allocations: 125.9 kB / 488.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.1388, allocations: 11.84 kB / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.1388, allocations: 15.89 kB / 488.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1388, allocations: 0 / 488.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1388, allocations: 7.938 kB / 488.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1388, allocations: 0 / 488.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.1391, allocations: 201.6 kB / 488.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1391, allocations: 0 / 488.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.323e-05/0.1392, allocations: 15.98 kB / 488.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.169e-05/0.1393, allocations: 41.64 kB / 488.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1393, allocations: 0 / 488.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.141, allocations: 2.741 MB / 491.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.141, allocations: 3.984 kB / 491.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.1412, allocations: 304.4 kB / 491.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.1413, allocations: 85.02 kB / 491.8 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1413, allocations: 7.938 kB / 491.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.1414, allocations: 0 / 491.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.1414, allocations: 8.031 kB / 491.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1415, allocations: 8 kB / 491.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.1415, allocations: 91.27 kB / 491.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1415, allocations: 0 / 491.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.1419, allocations: 39.94 kB / 492 MB, free: 8.262 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005629/0.1424, allocations: 0.8265 MB / 492.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.1429, allocations: 313.2 kB / 493.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.1429, allocations: 0 / 493.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.1431, allocations: 253.3 kB / 493.4 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.1436, allocations: 28.98 kB / 493.4 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1456, allocations: 1.984 MB / 495.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1458, allocations: 0.7084 MB / 496.1 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.468e-05/0.1459, allocations: 12.83 kB / 496.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.1459, allocations: 31.42 kB / 496.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1459, allocations: 0 / 496.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1701, allocations: 2.932 MB / 499 MB, free: 1.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.46, allocations: 4 kB / 499.1 MB, free: 1.039 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches