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.001158/0.001158, allocations: 102.5 kB / 16.4 MB, free: 6.453 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.00137/0.00137, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2072/0.2072, allocations: 43.52 MB / 314.1 MB, free: 424 kB / 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.001512/0.001512, allocations: 73.45 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.0961, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002539/0.09867, allocations: 1.664 MB / 0.489 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002693/0.09897, allocations: 107.6 kB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.09905, allocations: 4 kB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.147e-05/0.09911, allocations: 15.8 kB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.09923, allocations: 35.7 kB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.09936, allocations: 31.95 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.0995, allocations: 127.4 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.09964, allocations: 37.31 kB / 0.4893 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.09972, allocations: 51.84 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.09981, allocations: 51.72 kB / 0.4894 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.09983, allocations: 12 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.09986, allocations: 8 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.09989, allocations: 23.92 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.09995, allocations: 55.73 kB / 0.4895 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.1001, allocations: 123.6 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1001, allocations: 4 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1001, allocations: 0 / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1001, allocations: 0 / 0.4897 GB, free: 9.93 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.0004399/0.1006, allocations: 411.3 kB / 0.49 GB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1006, allocations: 19.88 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.1007, allocations: 42.75 kB / 0.4901 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.1007, allocations: 8.844 kB / 0.4901 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1009, allocations: 192.1 kB / 0.4903 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1009, allocations: 12.61 kB / 0.4903 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1009, allocations: 12.38 kB / 0.4903 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1011, allocations: 133.5 kB / 0.4905 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1012, allocations: 15.83 kB / 0.4905 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1012, allocations: 4 kB / 0.4905 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1012, allocations: 4 kB / 0.4905 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/0.1013, allocations: 55.97 kB / 0.4905 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006599/0.102, allocations: 0.5332 MB / 0.491 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1021, allocations: 89.23 kB / 0.4911 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.1021, allocations: 33.67 kB / 0.4912 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.1022, allocations: 7.938 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.1022, allocations: 30.56 kB / 0.4912 GB, free: 8.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1022, allocations: 4 kB / 0.4912 GB, free: 8.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005306/0.1027, allocations: 301.4 kB / 0.4915 GB, free: 7.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1028, allocations: 77.11 kB / 0.4916 GB, free: 7.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.1029, allocations: 129.7 kB / 0.4917 GB, free: 7.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1029, allocations: 25.7 kB / 0.4917 GB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.103, allocations: 119.5 kB / 0.4918 GB, free: 7.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.103, allocations: 35.55 kB / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.103, allocations: 29.72 kB / 0.4919 GB, free: 7.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.1031, allocations: 322.8 kB / 0.4922 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.1032, allocations: 27.92 kB / 0.4922 GB, free: 6.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.1033, allocations: 92.23 kB / 0.4923 GB, free: 6.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1034, allocations: 124.8 kB / 0.4924 GB, free: 6.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1034, allocations: 0 / 0.4924 GB, free: 6.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002619/0.1037, allocations: 163 kB / 0.4926 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1037, allocations: 4 kB / 0.4926 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1037, allocations: 12.19 kB / 0.4926 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.1039, allocations: 41.64 kB / 0.4926 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.104, allocations: 27.92 kB / 0.4927 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.1057, allocations: 2.741 MB / 0.4953 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.1058, allocations: 11.94 kB / 0.4954 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1058, allocations: 8 kB / 0.4954 GB, free: 3.418 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.301e-05/0.1059, allocations: 129.8 kB / 0.4955 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.1059, allocations: 11.84 kB / 0.4955 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.106, allocations: 11.91 kB / 0.4955 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.106, allocations: 0 / 0.4955 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.106, allocations: 7.984 kB / 0.4955 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.106, allocations: 0 / 0.4955 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1062, allocations: 193.6 kB / 0.4957 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1063, allocations: 4 kB / 0.4957 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.1063, allocations: 15.92 kB / 0.4957 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.846e-05/0.1064, allocations: 41.64 kB / 0.4958 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1065, allocations: 0 / 0.4958 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.108, allocations: 2.73 MB / 0.4984 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1081, allocations: 8.016 kB / 0.4984 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1083, allocations: 296.3 kB / 0.4987 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1084, allocations: 97.08 kB / 0.4988 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1084, allocations: 4 kB / 0.4988 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.1085, allocations: 0 / 0.4988 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.1085, allocations: 7.984 kB / 0.4988 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1085, allocations: 11.94 kB / 0.4988 GB, free: 15.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.435e-05/0.1086, allocations: 87.28 kB / 0.4989 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1086, allocations: 0 / 0.4989 GB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.1089, allocations: 39.91 kB / 0.499 GB, free: 15.34 MB / 398.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.0005522/0.1095, allocations: 0.8343 MB / 0.4998 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.1099, allocations: 305.5 kB / 0.5001 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.11, allocations: 3.938 kB / 0.5001 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.1102, allocations: 261.6 kB / 0.5003 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.1107, allocations: 31.53 kB / 0.5003 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.1125, allocations: 1.966 MB / 0.5023 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1128, allocations: 0.7084 MB / 0.503 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.1128, allocations: 16.8 kB / 0.503 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.1129, allocations: 23.44 kB / 0.503 GB, free: 10.95 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1129, allocations: 0 / 0.503 GB, free: 10.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.1382, allocations: 3.054 MB / 0.506 GB, free: 7.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.472/9.61, allocations: 11.81 kB / 0.506 GB, free: 7.875 MB / 398.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches