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.0007962/0.0007961, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 178.2 kB / 16.91 MB, free: 6.648 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.31/1.31, allocations: 205.4 MB / 223.1 MB, free: 5.211 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.3349/0.3349, allocations: 43.56 MB / 315 MB, free: 8.938 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.0004915/0.0004916, allocations: 22.64 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1308, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001825/0.1327, allocations: 1.369 MB / 444.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003222/0.133, allocations: 111.6 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.1331, allocations: 4 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.708e-05/0.1332, allocations: 7.922 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.1333, allocations: 31.77 kB / 445.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.1334, allocations: 23.98 kB / 445.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1336, allocations: 123.4 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1337, allocations: 25.09 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.1338, allocations: 47.8 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.1339, allocations: 47.78 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1339, allocations: 8 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.134, allocations: 4 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.134, allocations: 15.92 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.159e-05/0.1341, allocations: 77.44 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1343, allocations: 119.8 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1343, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1343, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1343, allocations: 0 / 445.5 MB, free: 10.56 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.0004201/0.1347, allocations: 387.4 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1348, allocations: 12.03 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.1348, allocations: 42.73 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1348, allocations: 16.75 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.135, allocations: 196.2 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.135, allocations: 8.609 kB / 446.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.1351, allocations: 20.25 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1353, allocations: 129.6 kB / 446.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1353, allocations: 11.92 kB / 446.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1354, allocations: 4 kB / 446.4 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.1354, allocations: 8 kB / 446.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1355, allocations: 51.97 kB / 446.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/0.1362, allocations: 0.5449 MB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1364, allocations: 89.17 kB / 447 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.1364, allocations: 37.73 kB / 447.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.1364, allocations: 4 kB / 447.1 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1365, allocations: 34.56 kB / 447.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1365, allocations: 0 / 447.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005547/0.137, allocations: 297.5 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1371, allocations: 84.98 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/0.1372, allocations: 125.7 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1372, allocations: 29.7 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.1373, allocations: 115.6 kB / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1373, allocations: 35.56 kB / 447.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1374, allocations: 17.72 kB / 447.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1375, allocations: 326.8 kB / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.1375, allocations: 23.98 kB / 448.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.1376, allocations: 80.59 kB / 448.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1377, allocations: 128.8 kB / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1378, allocations: 0 / 448.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002591/0.138, allocations: 167.2 kB / 448.5 MB, free: 7.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.138, allocations: 8.062 kB / 448.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.1381, allocations: 7.938 kB / 448.5 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.1383, allocations: 37.64 kB / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.1384, allocations: 19.98 kB / 448.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.1403, allocations: 2.544 MB / 451.1 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.1403, allocations: 11.94 kB / 451.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1404, allocations: 4 kB / 451.1 MB, free: 4.297 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 0.0001223/0.1405, allocations: 133.7 kB / 451.3 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.1406, allocations: 19.92 kB / 451.3 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.1406, allocations: 19.84 kB / 451.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1406, allocations: 0 / 451.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1406, allocations: 0 / 451.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1406, allocations: 0 / 451.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.1409, allocations: 205.5 kB / 451.5 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1409, allocations: 0 / 451.5 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.734e-05/0.141, allocations: 16 kB / 451.5 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.1411, allocations: 33.7 kB / 451.6 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1411, allocations: 8 kB / 451.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.1431, allocations: 2.528 MB / 454.1 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1431, allocations: 4.031 kB / 454.1 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.1435, allocations: 308.4 kB / 454.4 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.1435, allocations: 89.05 kB / 454.5 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1435, allocations: 0 / 454.5 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1437, allocations: 8 kB / 454.5 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.1437, allocations: 4 kB / 454.5 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1437, allocations: 3.984 kB / 454.5 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.155e-05/0.1438, allocations: 91.28 kB / 454.6 MB, free: 484 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1438, allocations: 4 kB / 454.6 MB, free: 480 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.1442, allocations: 43.78 kB / 454.6 MB, free: 436 kB / 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.1667/0.311, allocations: 0.8369 MB / 455.5 MB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004845/0.3115, allocations: 301.7 kB / 455.8 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3115, allocations: 0 / 455.8 MB, free: 44.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.3117, allocations: 259.5 kB / 456 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.3122, allocations: 31.66 kB / 456.1 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.3139, allocations: 2.079 MB / 458.1 MB, free: 43.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.314, allocations: 0.71 MB / 458.9 MB, free: 42.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.314, allocations: 10.78 kB / 458.9 MB, free: 42.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.3141, allocations: 28.25 kB / 458.9 MB, free: 42.34 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3141, allocations: 0 / 458.9 MB, free: 42.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.3263, allocations: 2.697 MB / 461.6 MB, free: 42.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.3265, allocations: 230.8 kB / 461.8 MB, free: 41.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.089, allocations: 0.9375 kB / 461.8 MB, free: 41.78 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