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/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_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_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.00106/0.00106, allocations: 178.3 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008755/0.0008754, allocations: 90.59 kB / 261.8 MB, free: 1.68 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.2196/0.2196, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.734e-05, allocations: 0 / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.522, allocations: 83.89 MB / 0.5478 GB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.5222, allocations: 70.23 kB / 0.5479 GB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004487/0.5267, allocations: 2.01 MB / 0.5499 GB, free: 8.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5268, allocations: 0 / 0.5499 GB, free: 8.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.5268, allocations: 3.781 kB / 0.5499 GB, free: 8.586 MB / 362.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.0003314/0.5271, allocations: 368.4 kB / 0.5502 GB, free: 8.211 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.764e-05/0.5272, allocations: 11.66 kB / 0.5502 GB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.5272, allocations: 9.219 kB / 0.5503 GB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.5274, allocations: 178.7 kB / 0.5504 GB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.5274, allocations: 7.828 kB / 0.5504 GB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.5274, allocations: 11.69 kB / 0.5504 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001309/0.5276, allocations: 50.52 kB / 0.5505 GB, free: 7.984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.5277, allocations: 106.7 kB / 0.5506 GB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.5277, allocations: 3.984 kB / 0.5506 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.5278, allocations: 0 / 0.5506 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5278, allocations: 3.875 kB / 0.5506 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.5284, allocations: 0.5068 MB / 0.5511 GB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.5285, allocations: 83.58 kB / 0.5512 GB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.5285, allocations: 23.66 kB / 0.5512 GB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.5285, allocations: 4 kB / 0.5512 GB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.5285, allocations: 34.73 kB / 0.5512 GB, free: 7.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.5286, allocations: 0 / 0.5512 GB, free: 7.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002853/0.5288, allocations: 96.48 kB / 0.5513 GB, free: 7.262 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.5289, allocations: 81.11 kB / 0.5514 GB, free: 7.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/0.529, allocations: 119.3 kB / 0.5515 GB, free: 7.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.529, allocations: 25.7 kB / 0.5515 GB, free: 7.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.529, allocations: 110.3 kB / 0.5516 GB, free: 6.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.5291, allocations: 39.36 kB / 0.5517 GB, free: 6.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.5291, allocations: 3.5 kB / 0.5517 GB, free: 6.879 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.896e-05/0.5291, allocations: 326 kB / 0.552 GB, free: 6.555 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.843e-05/0.5292, allocations: 15.38 kB / 0.552 GB, free: 6.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-05/0.5292, allocations: 78.59 kB / 0.5521 GB, free: 6.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.5293, allocations: 36.67 kB / 0.5521 GB, free: 6.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5293, allocations: 3.938 kB / 0.5521 GB, free: 6.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001956/0.5295, allocations: 148.9 kB / 0.5523 GB, free: 6.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5295, allocations: 8 kB / 0.5523 GB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5295, allocations: 8.25 kB / 0.5523 GB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.5297, allocations: 36.84 kB / 0.5523 GB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.5298, allocations: 28.67 kB / 0.5523 GB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.5309, allocations: 2.42 MB / 0.5547 GB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.531, allocations: 7.938 kB / 0.5547 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.531, allocations: 8 kB / 0.5547 GB, free: 3.609 MB / 362.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 () * 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 7.095e-05/0.5311, allocations: 108.4 kB / 0.5548 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.5311, allocations: 4 kB / 0.5548 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.5312, allocations: 15.77 kB / 0.5548 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5312, allocations: 3.953 kB / 0.5549 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5312, allocations: 4.062 kB / 0.5549 GB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5312, allocations: 4 kB / 0.5549 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.5314, allocations: 169.9 kB / 0.555 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5314, allocations: 0 / 0.555 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.5315, allocations: 15.94 kB / 0.555 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.003e-05/0.5316, allocations: 33.92 kB / 0.5551 GB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.5316, allocations: 3.5 kB / 0.5551 GB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.5328, allocations: 2.425 MB / 0.5574 GB, free: 16.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5328, allocations: 3.984 kB / 0.5574 GB, free: 16.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.533, allocations: 306.4 kB / 0.5577 GB, free: 16.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.5331, allocations: 88.97 kB / 0.5578 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.5331, allocations: 0 / 0.5578 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.5332, allocations: 7.375 kB / 0.5578 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.5332, allocations: 8.031 kB / 0.5578 GB, free: 16.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.5332, allocations: 4 kB / 0.5578 GB, free: 16.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.898e-05/0.5333, allocations: 94.2 kB / 0.5579 GB, free: 16.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5333, allocations: 0 / 0.5579 GB, free: 16.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.5336, allocations: 39.84 kB / 0.558 GB, free: 16.09 MB / 378.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 () * 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.000138/0.5338, allocations: 95.23 kB / 0.5581 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.5341, allocations: 276.1 kB / 0.5583 GB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5341, allocations: 0.5 kB / 0.5583 GB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.5343, allocations: 238.2 kB / 0.5585 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.5347, allocations: 25.12 kB / 0.5586 GB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.5352, allocations: 406.2 kB / 0.559 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.5356, allocations: 0.7123 MB / 0.5597 GB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.932e-05/0.5356, allocations: 8.875 kB / 0.5597 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.5356, allocations: 15.38 kB / 0.5597 GB, free: 14.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5356, allocations: 0 / 0.5597 GB, free: 14.29 MB / 378.7 MB Notification: Performance of Templates: time 0.003771/0.5394, allocations: 1.33 MB / 0.561 GB, free: 12.97 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches