Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 109.5 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 192.9 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3171/0.3171, allocations: 43.5 MB / 313.6 MB, free: 8.551 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 71.89 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1295, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002712/0.1322, allocations: 1.72 MB / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002898/0.1326, allocations: 107.6 kB / 441.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.1326, allocations: 0 / 441.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.319e-05/0.1327, allocations: 11.92 kB / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1328, allocations: 31.7 kB / 442 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.133, allocations: 27.97 kB / 442 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1331, allocations: 119.5 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1332, allocations: 37.09 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/0.1333, allocations: 51.78 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.1334, allocations: 47.78 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1334, allocations: 8 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.025e-05/0.1334, allocations: 12 kB / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.1335, allocations: 27.86 kB / 442.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.1335, allocations: 55.73 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1337, allocations: 119.9 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1337, allocations: 4 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1337, allocations: 0 / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1337, allocations: 4 kB / 442.5 MB, free: 12.26 MB / 382.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.0004293/0.1342, allocations: 415.2 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1342, allocations: 15.88 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.1342, allocations: 42.75 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.1343, allocations: 12.84 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1345, allocations: 192.1 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1345, allocations: 8.609 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.1345, allocations: 16.38 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.1347, allocations: 125.6 kB / 443.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1348, allocations: 19.81 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1348, allocations: 4 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1348, allocations: 4 kB / 443.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-05/0.1349, allocations: 59.91 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.1356, allocations: 0.5333 MB / 443.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1357, allocations: 97.11 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.1358, allocations: 37.73 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1358, allocations: 4 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1358, allocations: 30.56 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1358, allocations: 0 / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000559/0.1364, allocations: 305.3 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1364, allocations: 81.11 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.295e-05/0.1365, allocations: 121.8 kB / 444.6 MB, free: 9.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1366, allocations: 25.7 kB / 444.6 MB, free: 9.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.1366, allocations: 123.5 kB / 444.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1367, allocations: 35.48 kB / 444.7 MB, free: 9.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.1367, allocations: 25.72 kB / 444.8 MB, free: 9.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1368, allocations: 330.8 kB / 445.1 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.1369, allocations: 23.98 kB / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.137, allocations: 88.52 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1371, allocations: 120.5 kB / 445.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1371, allocations: 8 kB / 445.3 MB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002562/0.1374, allocations: 163.4 kB / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1374, allocations: 4 kB / 445.5 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1374, allocations: 8.031 kB / 445.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.1376, allocations: 45.94 kB / 445.5 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.1377, allocations: 19.98 kB / 445.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.1395, allocations: 2.734 MB / 448.3 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.1396, allocations: 11.94 kB / 448.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1396, allocations: 8 kB / 448.3 MB, free: 5.746 MB / 382.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.658e-05/0.1397, allocations: 129.8 kB / 448.4 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.1398, allocations: 11.84 kB / 448.4 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.1398, allocations: 11.91 kB / 448.5 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1398, allocations: 0 / 448.5 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1398, allocations: 0 / 448.5 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1398, allocations: 7.984 kB / 448.5 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1401, allocations: 193.6 kB / 448.7 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1401, allocations: 0 / 448.7 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.1402, allocations: 15.98 kB / 448.7 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.1403, allocations: 49.64 kB / 448.7 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1403, allocations: 0 / 448.7 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.1419, allocations: 2.722 MB / 451.4 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1419, allocations: 0 / 451.4 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.1422, allocations: 312.4 kB / 451.7 MB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.1423, allocations: 89.05 kB / 451.8 MB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1423, allocations: 4 kB / 451.8 MB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.1424, allocations: 3.938 kB / 451.8 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.1424, allocations: 7.984 kB / 451.8 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1424, allocations: 4 kB / 451.9 MB, free: 1.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.1425, allocations: 99.16 kB / 451.9 MB, free: 1.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1425, allocations: 0 / 451.9 MB, free: 1.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000352/0.1429, allocations: 39.84 kB / 452 MB, free: 1.68 MB / 382.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.0005182/0.1434, allocations: 0.846 MB / 452.8 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.1438, allocations: 305.3 kB / 453.1 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1438, allocations: 0 / 453.1 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.1441, allocations: 257.6 kB / 453.4 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.1445, allocations: 32.42 kB / 453.4 MB, free: 172 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1774/0.3219, allocations: 1.987 MB / 455.4 MB, free: 47.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.3221, allocations: 0.7063 MB / 456.1 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.3222, allocations: 17.64 kB / 456.1 MB, free: 46.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.3223, allocations: 27.12 kB / 456.2 MB, free: 46.49 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3223, allocations: 0 / 456.2 MB, free: 46.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.3395, allocations: 2.87 MB / 459 MB, free: 46.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.3396, allocations: 231.9 kB / 459.2 MB, free: 45.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.289, allocations: 5.344 kB / 459.3 MB, free: 45.84 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches