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.001077/0.001077, allocations: 106.6 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 75.25 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1313, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002875/0.1342, allocations: 1.718 MB / 481.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.1345, allocations: 115.6 kB / 481.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.1346, allocations: 0 / 481.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.158e-05/0.1346, allocations: 15.86 kB / 481.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1348, allocations: 27.77 kB / 481.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.1349, allocations: 23.98 kB / 481.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1351, allocations: 127.4 kB / 481.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1352, allocations: 41.03 kB / 481.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.1353, allocations: 43.86 kB / 481.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.1354, allocations: 47.78 kB / 481.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.1354, allocations: 8 kB / 481.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.1355, allocations: 16 kB / 481.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.1355, allocations: 27.91 kB / 481.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1356, allocations: 55.73 kB / 481.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1357, allocations: 115.9 kB / 482 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1357, allocations: 0 / 482 MB, free: 3.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1357, allocations: 0 / 482 MB, free: 3.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1358, allocations: 4 kB / 482 MB, free: 3.125 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.0005573/0.1363, allocations: 411.3 kB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1364, allocations: 8.031 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.1364, allocations: 42.75 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.1365, allocations: 16.75 kB / 482.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1367, allocations: 192.2 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1367, allocations: 12.55 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.1367, allocations: 16.28 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.1369, allocations: 127.4 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.137, allocations: 11.94 kB / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.137, allocations: 0 / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.137, allocations: 4 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1371, allocations: 63.91 kB / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000705/0.1378, allocations: 0.545 MB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.138, allocations: 85.17 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.1381, allocations: 33.73 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.1381, allocations: 4 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1381, allocations: 30.56 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1381, allocations: 7.938 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000575/0.1387, allocations: 297.4 kB / 483.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1387, allocations: 89.09 kB / 483.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.1389, allocations: 121.8 kB / 484 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1389, allocations: 25.7 kB / 484.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.1389, allocations: 119.6 kB / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.139, allocations: 35.55 kB / 484.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.139, allocations: 29.7 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1392, allocations: 322.8 kB / 484.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.1392, allocations: 23.98 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.1393, allocations: 88.52 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1394, allocations: 120.5 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1395, allocations: 0 / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002709/0.1397, allocations: 167 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1398, allocations: 14.89 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1398, allocations: 7.938 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.1399, allocations: 33.7 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.14, allocations: 16 kB / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.1419, allocations: 2.739 MB / 487.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.142, allocations: 11.88 kB / 487.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.142, allocations: 16.12 kB / 487.8 MB, free: 12.63 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.544e-05/0.1421, allocations: 117.8 kB / 487.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.1422, allocations: 15.84 kB / 487.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.1422, allocations: 15.89 kB / 487.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1422, allocations: 0 / 487.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1422, allocations: 0 / 487.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1423, allocations: 4 kB / 487.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.1425, allocations: 193.6 kB / 488.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1425, allocations: 4 kB / 488.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.1426, allocations: 19.92 kB / 488.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.1427, allocations: 45.58 kB / 488.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1427, allocations: 0 / 488.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.1446, allocations: 2.737 MB / 490.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1446, allocations: 0 / 490.9 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1449, allocations: 320.5 kB / 491.3 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.145, allocations: 85.02 kB / 491.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.145, allocations: 0 / 491.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.852e-05/0.1451, allocations: 4 kB / 491.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.1451, allocations: 11.92 kB / 491.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1452, allocations: 8 kB / 491.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.388e-05/0.1452, allocations: 91.7 kB / 491.5 MB, free: 8.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1452, allocations: 0 / 491.5 MB, free: 8.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.1456, allocations: 35.94 kB / 491.5 MB, free: 8.547 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.0006634/0.1463, allocations: 0.8308 MB / 492.3 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.1468, allocations: 305.2 kB / 492.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1468, allocations: 0 / 492.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.1471, allocations: 253.9 kB / 492.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.1476, allocations: 42.03 kB / 492.9 MB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.1497, allocations: 2.021 MB / 494.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1501, allocations: 0.7123 MB / 495.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.535e-05/0.1501, allocations: 4.891 kB / 495.6 MB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.1502, allocations: 31.42 kB / 495.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1502, allocations: 0 / 495.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.1695, allocations: 2.866 MB / 498.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.1698, allocations: 234.8 kB / 498.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.067, allocations: 4 kB / 498.8 MB, free: 1.129 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