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.001554/0.001554, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 77.22 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1198, allocations: 62.44 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002787/0.1226, allocations: 1.725 MB / 481.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002458/0.1229, allocations: 107.6 kB / 481.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.123, allocations: 4 kB / 481.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.089e-05/0.1231, allocations: 11.92 kB / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1232, allocations: 31.75 kB / 481.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.1233, allocations: 23.98 kB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1234, allocations: 123.4 kB / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1235, allocations: 33.09 kB / 481.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.1236, allocations: 39.81 kB / 481.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.068e-05/0.1237, allocations: 43.78 kB / 481.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1237, allocations: 8 kB / 481.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.1237, allocations: 4 kB / 481.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.1238, allocations: 23.91 kB / 481.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.1238, allocations: 55.73 kB / 481.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.124, allocations: 119.9 kB / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.124, allocations: 0 / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.124, allocations: 0 / 481.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.124, allocations: 0 / 481.7 MB, free: 3.258 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.000438/0.1244, allocations: 403.4 kB / 482.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1245, allocations: 12.88 kB / 482.1 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1245, allocations: 46.67 kB / 482.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.1246, allocations: 16.75 kB / 482.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1247, allocations: 188.3 kB / 482.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1248, allocations: 12.61 kB / 482.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.1248, allocations: 16.28 kB / 482.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.125, allocations: 131.4 kB / 482.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.125, allocations: 3.938 kB / 482.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.125, allocations: 8 kB / 482.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1251, allocations: 4 kB / 482.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1252, allocations: 55.95 kB / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007396/0.1259, allocations: 0.5411 MB / 483.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.126, allocations: 93.25 kB / 483.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.1261, allocations: 33.64 kB / 483.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.1261, allocations: 7.875 kB / 483.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.1262, allocations: 34.56 kB / 483.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1262, allocations: 0 / 483.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005529/0.1267, allocations: 309.4 kB / 483.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1268, allocations: 85.05 kB / 483.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.1269, allocations: 117.8 kB / 483.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1269, allocations: 25.7 kB / 483.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.127, allocations: 127.6 kB / 484 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.127, allocations: 31.55 kB / 484 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.1271, allocations: 33.7 kB / 484 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1272, allocations: 326.8 kB / 484.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.1272, allocations: 20 kB / 484.4 MB, free: 320 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.1273, allocations: 80.58 kB / 484.4 MB, free: 208 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1274, allocations: 128.5 kB / 484.6 MB, free: 48 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1274, allocations: 0 / 484.6 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002779/0.1277, allocations: 163 kB / 484.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1278, allocations: 8 kB / 484.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.1278, allocations: 7.938 kB / 484.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/0.1279, allocations: 37.95 kB / 484.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.128, allocations: 27.92 kB / 484.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.1298, allocations: 2.534 MB / 487.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.1299, allocations: 16.12 kB / 487.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1299, allocations: 12 kB / 487.4 MB, free: 12.96 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 0.0001024/0.13, allocations: 129.2 kB / 487.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.1301, allocations: 7.906 kB / 487.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1301, allocations: 7.906 kB / 487.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.1301, allocations: 0 / 487.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1301, allocations: 7.938 kB / 487.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1302, allocations: 7.984 kB / 487.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.1304, allocations: 197.5 kB / 487.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1304, allocations: 4 kB / 487.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.1305, allocations: 11.98 kB / 487.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001006/0.1306, allocations: 37.7 kB / 487.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1306, allocations: 3.938 kB / 487.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.1322, allocations: 2.552 MB / 490.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1322, allocations: 0 / 490.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.1325, allocations: 308.3 kB / 490.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.1326, allocations: 85.11 kB / 490.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1326, allocations: 4 kB / 490.7 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.1327, allocations: 4 kB / 490.7 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.1327, allocations: 8.031 kB / 490.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1327, allocations: 7.938 kB / 490.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.1328, allocations: 91.27 kB / 490.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1328, allocations: 0 / 490.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.1332, allocations: 43.78 kB / 490.9 MB, free: 9.09 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.0005569/0.1337, allocations: 0.8266 MB / 491.7 MB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.1341, allocations: 305.5 kB / 492 MB, free: 7.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1341, allocations: 0 / 492 MB, free: 7.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.1344, allocations: 261.2 kB / 492.2 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.1349, allocations: 28.42 kB / 492.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1371, allocations: 2.011 MB / 494.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1375, allocations: 0.7047 MB / 495 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.1375, allocations: 8.875 kB / 495 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.1376, allocations: 28.53 kB / 495 MB, free: 4.676 MB / 366.1 MB Notification: Performance of SimCode: time 4.238e-06/0.1376, allocations: 4 kB / 495 MB, free: 4.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/0.1517, allocations: 2.778 MB / 497.8 MB, free: 2.023 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.152, allocations: 236.3 kB / 498 MB, free: 1.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/1.962, allocations: 0 / 498 MB, free: 1.754 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