Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 174.8 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 222.9 MB, free: 9 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007129/0.0007129, allocations: 90.3 kB / 271.2 MB, free: 8.223 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.289/0.289, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 16 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09863, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00155/0.1002, allocations: 1.338 MB / 492.2 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002216/0.1005, allocations: 103.6 kB / 492.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.1005, allocations: 4 kB / 492.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.1006, allocations: 11.86 kB / 492.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.1007, allocations: 31.77 kB / 492.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.926e-05/0.1008, allocations: 19.98 kB / 492.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.1009, allocations: 119.4 kB / 492.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.101, allocations: 37.02 kB / 492.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.1011, allocations: 39.86 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.1012, allocations: 43.83 kB / 492.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1012, allocations: 8 kB / 492.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.165e-05/0.1012, allocations: 4 kB / 492.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.1013, allocations: 15.94 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.449e-05/0.1013, allocations: 77.44 kB / 492.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1015, allocations: 92.03 kB / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1015, allocations: 0 / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1015, allocations: 4 kB / 492.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1015, allocations: 0 / 492.8 MB, free: 8.695 MB / 378.7 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.0004024/0.1019, allocations: 383.4 kB / 493.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1019, allocations: 12.03 kB / 493.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.102, allocations: 12.75 kB / 493.2 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.1021, allocations: 192.2 kB / 493.3 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.1022, allocations: 8.609 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.1022, allocations: 16.28 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1024, allocations: 141.5 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1024, allocations: 4.125 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1025, allocations: 7.938 kB / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.1025, allocations: 4 kB / 493.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1026, allocations: 55.97 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.1032, allocations: 0.5411 MB / 494.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.1034, allocations: 85.17 kB / 494.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.1034, allocations: 33.8 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.1034, allocations: 7.938 kB / 494.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1035, allocations: 30.56 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.1035, allocations: 0 / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005281/0.104, allocations: 301.7 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1041, allocations: 81.11 kB / 494.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.141e-05/0.1042, allocations: 125.8 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1042, allocations: 29.64 kB / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.1043, allocations: 123.5 kB / 494.9 MB, free: 6.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.1043, allocations: 35.53 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.1043, allocations: 0 / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1044, allocations: 326.8 kB / 495.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.1045, allocations: 20 kB / 495.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1045, allocations: 92.22 kB / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.1047, allocations: 120.5 kB / 495.5 MB, free: 5.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1047, allocations: 4 kB / 495.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002957/0.105, allocations: 175 kB / 495.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.105, allocations: 7.594 kB / 495.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.105, allocations: 4 kB / 495.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.1052, allocations: 37.64 kB / 495.7 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.1053, allocations: 27.92 kB / 495.7 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.1069, allocations: 2.541 MB / 498.3 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.107, allocations: 15.88 kB / 498.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.107, allocations: 8 kB / 498.3 MB, free: 2.504 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.1071, allocations: 129.9 kB / 498.4 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.1071, allocations: 7.906 kB / 498.4 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.1072, allocations: 15.89 kB / 498.5 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1072, allocations: 3.938 kB / 498.5 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1072, allocations: 4 kB / 498.5 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.1072, allocations: 0 / 498.5 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.1074, allocations: 197.5 kB / 498.7 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1074, allocations: 4 kB / 498.7 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.1075, allocations: 23.92 kB / 498.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.875e-05/0.1076, allocations: 33.7 kB / 498.7 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1076, allocations: 0 / 498.7 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1634/0.271, allocations: 2.524 MB / 0.4895 GB, free: 41.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.271, allocations: 3.656 kB / 0.4895 GB, free: 41.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.2713, allocations: 311.3 kB / 0.4898 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.2713, allocations: 79.64 kB / 0.4899 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2714, allocations: 4.141 kB / 0.4899 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2715, allocations: 2.062 kB / 0.4899 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.2715, allocations: 12.09 kB / 0.4899 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2715, allocations: 2.875 kB / 0.4899 GB, free: 41.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.003e-05/0.2716, allocations: 93.88 kB / 0.49 GB, free: 41.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2716, allocations: 0.6562 kB / 0.49 GB, free: 41.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000438/0.272, allocations: 38.16 kB / 0.49 GB, free: 41.42 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.268e-05/0.2721, allocations: 97 kB / 0.4901 GB, free: 41.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.2724, allocations: 305.6 kB / 0.4904 GB, free: 41.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2725, allocations: 0 / 0.4904 GB, free: 41.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.2726, allocations: 253.3 kB / 0.4906 GB, free: 40.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.2731, allocations: 24.64 kB / 0.4907 GB, free: 40.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.2737, allocations: 0.583 MB / 0.4912 GB, free: 40.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.2739, allocations: 0.7166 MB / 0.4919 GB, free: 39.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.2739, allocations: 12.06 kB / 0.492 GB, free: 39.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2739, allocations: 0 / 0.492 GB, free: 39.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004/0.2779, allocations: 2.414 MB / 0.4943 GB, free: 39.71 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/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_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches