Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000938/0.000938, allocations: 182.8 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000776/0.0007761, allocations: 94.84 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4578/0.4578, allocations: 44.15 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003981, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4086, allocations: 61.87 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.5175, allocations: 85.84 MB / 0.5945 GB, free: 9.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5177, allocations: 75.89 kB / 0.5946 GB, free: 9.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005282/0.523, allocations: 2.054 MB / 0.5966 GB, free: 7.125 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5231, allocations: 0 / 0.5966 GB, free: 7.125 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.5231, allocations: 4 kB / 0.5966 GB, free: 7.121 MB / 410.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.0004233/0.5235, allocations: 379.5 kB / 0.597 GB, free: 6.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5236, allocations: 8.031 kB / 0.597 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.5236, allocations: 16.75 kB / 0.597 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.5238, allocations: 184.2 kB / 0.5972 GB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.5238, allocations: 8.609 kB / 0.5972 GB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.5239, allocations: 16.28 kB / 0.5972 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.5241, allocations: 134.2 kB / 0.5973 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.5241, allocations: 4.188 kB / 0.5973 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.5241, allocations: 11.94 kB / 0.5973 GB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5242, allocations: 0 / 0.5973 GB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.5243, allocations: 63.95 kB / 0.5974 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007712/0.5251, allocations: 0.5409 MB / 0.5979 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.5252, allocations: 89.2 kB / 0.598 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.5253, allocations: 33.66 kB / 0.5981 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.5253, allocations: 3.938 kB / 0.5981 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.5253, allocations: 34.56 kB / 0.5981 GB, free: 5.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.814e-06/0.5253, allocations: 0 / 0.5981 GB, free: 5.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006211/0.526, allocations: 306.6 kB / 0.5984 GB, free: 5.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.526, allocations: 77.11 kB / 0.5985 GB, free: 4.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5261, allocations: 125.8 kB / 0.5986 GB, free: 4.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5262, allocations: 25.7 kB / 0.5986 GB, free: 4.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.5262, allocations: 119.7 kB / 0.5987 GB, free: 4.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.5263, allocations: 35.48 kB / 0.5987 GB, free: 4.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.5263, allocations: 8 kB / 0.5988 GB, free: 4.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5264, allocations: 314.8 kB / 0.5991 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.5264, allocations: 27.92 kB / 0.5991 GB, free: 4.309 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.131e-05/0.5265, allocations: 86.69 kB / 0.5992 GB, free: 4.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.5267, allocations: 124.5 kB / 0.5993 GB, free: 4.043 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5267, allocations: 0 / 0.5993 GB, free: 4.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002896/0.527, allocations: 171.1 kB / 0.5994 GB, free: 3.863 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.527, allocations: 9.719 kB / 0.5995 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.527, allocations: 0 / 0.5995 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.5272, allocations: 41.64 kB / 0.5995 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.5273, allocations: 23.94 kB / 0.5995 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.5292, allocations: 2.54 MB / 0.602 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.5293, allocations: 11.91 kB / 0.602 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.5293, allocations: 7.938 kB / 0.602 GB, free: 0.9648 MB / 410.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 0.000103/0.5294, allocations: 134.6 kB / 0.6021 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.5295, allocations: 12 kB / 0.6022 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.5295, allocations: 11.91 kB / 0.6022 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5295, allocations: 0 / 0.6022 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5295, allocations: 0 / 0.6022 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5295, allocations: 0 / 0.6022 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.5298, allocations: 205.5 kB / 0.6024 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5298, allocations: 0 / 0.6024 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.5299, allocations: 15.94 kB / 0.6024 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.27e-05/0.53, allocations: 41.7 kB / 0.6024 GB, free: 496 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.53, allocations: 4 kB / 0.6024 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.5316, allocations: 2.536 MB / 0.6049 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5316, allocations: 0 / 0.6049 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.5319, allocations: 304.5 kB / 0.6052 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.532, allocations: 88.95 kB / 0.6053 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.532, allocations: 4 kB / 0.6053 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.5321, allocations: 4 kB / 0.6053 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.5321, allocations: 11.97 kB / 0.6053 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.5321, allocations: 4 kB / 0.6053 GB, free: 13.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.5322, allocations: 95.7 kB / 0.6054 GB, free: 13.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5322, allocations: 4 kB / 0.6054 GB, free: 13.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.5325, allocations: 35.91 kB / 0.6054 GB, free: 13.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.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 (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 0.0001235/0.5326, allocations: 95.72 kB / 0.6055 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.533, allocations: 297.6 kB / 0.6058 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5331, allocations: 0 / 0.6058 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.5333, allocations: 261.3 kB / 0.6061 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.5338, allocations: 30.89 kB / 0.6061 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008787/0.5347, allocations: 0.5723 MB / 0.6066 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.535, allocations: 0.7083 MB / 0.6073 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.517e-05/0.5351, allocations: 12.88 kB / 0.6073 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.5351, allocations: 11.44 kB / 0.6074 GB, free: 11 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5351, allocations: 0 / 0.6074 GB, free: 11 MB / 426.7 MB Notification: Performance of Templates: time 0.003885/0.539, allocations: 1.409 MB / 0.6087 GB, free: 9.598 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches