Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001171/0.001171, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.89 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1075, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003685/0.1112, allocations: 2.856 MB / 484.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1124, allocations: 0.7984 MB / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1126, allocations: 8 kB / 485.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1128, allocations: 63.33 kB / 485.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.113, allocations: 126.9 kB / 485.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1133, allocations: 115.8 kB / 485.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.1137, allocations: 446.3 kB / 485.9 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.114, allocations: 194.1 kB / 486 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.1142, allocations: 179.3 kB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1145, allocations: 187.2 kB / 486.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.1145, allocations: 36 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.342e-05/0.1146, allocations: 43.98 kB / 486.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.1147, allocations: 79.7 kB / 486.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.1149, allocations: 214.9 kB / 486.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.1153, allocations: 450.4 kB / 487.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1153, allocations: 8 kB / 487.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1153, allocations: 0 / 487.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1153, allocations: 0 / 487.2 MB, free: 14.76 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009144/0.1162, allocations: 0.6706 MB / 487.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1163, allocations: 8.031 kB / 487.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.1166, allocations: 72.44 kB / 488 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.117, allocations: 299.5 kB / 488.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.117, allocations: 29.38 kB / 488.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.1171, allocations: 36.38 kB / 488.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.1177, allocations: 389.3 kB / 488.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.1177, allocations: 7.906 kB / 488.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.1177, allocations: 12 kB / 488.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.1178, allocations: 12 kB / 488.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/0.1182, allocations: 247.8 kB / 489 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.1197, allocations: 1.097 MB / 490.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.1203, allocations: 359.6 kB / 490.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.1206, allocations: 182.7 kB / 490.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.1206, allocations: 4 kB / 490.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1206, allocations: 42.56 kB / 490.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.753e-06/0.1206, allocations: 0 / 490.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003666/0.1243, allocations: 2.439 MB / 493.1 MB, free: 8.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.1244, allocations: 118.8 kB / 493.2 MB, free: 8.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.1247, allocations: 246.7 kB / 493.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.1247, allocations: 29.7 kB / 493.5 MB, free: 8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1248, allocations: 184.6 kB / 493.7 MB, free: 7.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.125, allocations: 205 kB / 493.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1251, allocations: 90.19 kB / 493.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1252, allocations: 354.7 kB / 494.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.1255, allocations: 129.1 kB / 494.4 MB, free: 7.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.1258, allocations: 223.8 kB / 494.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/0.1265, allocations: 405.9 kB / 495 MB, free: 6.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1265, allocations: 0 / 495 MB, free: 6.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001032/0.1275, allocations: 0.5576 MB / 495.6 MB, free: 5.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1275, allocations: 8 kB / 495.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1275, allocations: 0 / 495.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004038/0.128, allocations: 126.7 kB / 495.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.1284, allocations: 103.9 kB / 495.8 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.1326, allocations: 5.215 MB / 0.4893 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.1328, allocations: 16 kB / 0.4893 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.1328, allocations: 27.98 kB / 0.4893 GB, free: 15.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.133, allocations: 169.8 kB / 0.4895 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.1331, allocations: 35.62 kB / 0.4895 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/0.1332, allocations: 42.17 kB / 0.4896 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.072e-05/0.1333, allocations: 8 kB / 0.4896 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.1333, allocations: 7.938 kB / 0.4896 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1333, allocations: 3.984 kB / 0.4896 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.1352, allocations: 1.324 MB / 0.4909 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1352, allocations: 8.094 kB / 0.4909 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/0.1356, allocations: 95.88 kB / 0.491 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/0.1359, allocations: 90.52 kB / 0.4911 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.1359, allocations: 15.94 kB / 0.4911 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.1391, allocations: 4.43 MB / 0.4954 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1391, allocations: 4.031 kB / 0.4954 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.1404, allocations: 0.9254 MB / 0.4963 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.1405, allocations: 116.7 kB / 0.4964 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1405, allocations: 12 kB / 0.4964 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1408, allocations: 15.98 kB / 0.4965 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.1409, allocations: 47.83 kB / 0.4965 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.1409, allocations: 15.98 kB / 0.4965 GB, free: 7.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1411, allocations: 178 kB / 0.4967 GB, free: 7.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1411, allocations: 4 kB / 0.4967 GB, free: 7.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006667/0.1418, allocations: 124 kB / 0.4968 GB, free: 7.637 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001417/0.1419, allocations: 103.2 kB / 0.4969 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.1431, allocations: 0.777 MB / 0.4977 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1431, allocations: 0 / 0.4977 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.1439, allocations: 0.5763 MB / 0.4982 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.1445, allocations: 56.97 kB / 0.4983 GB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1461, allocations: 1.091 MB / 0.4993 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.1466, allocations: 0.8241 MB / 0.5002 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1467, allocations: 35.27 kB / 0.5002 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.1468, allocations: 31.42 kB / 0.5002 GB, free: 3.996 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1468, allocations: 0 / 0.5002 GB, free: 3.996 MB / 382.1 MB Notification: Performance of Templates: time 0.1754/0.3222, allocations: 4.471 MB / 0.5046 GB, free: 39.83 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches