Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002331/0.00233, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001071/0.001071, allocations: 98.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3085/0.3085, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.894e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.5885, allocations: 86.89 MB / 0.5576 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.5888, allocations: 69.5 kB / 0.5577 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02699/0.6158, allocations: 6.26 MB / 0.5638 GB, free: 11.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6159, allocations: 4 kB / 0.5638 GB, free: 11.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.6159, allocations: 4 kB / 0.5638 GB, free: 11.39 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001259/0.6172, allocations: 0.5852 MB / 0.5644 GB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.6173, allocations: 8.031 kB / 0.5644 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.6174, allocations: 47.44 kB / 0.5645 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.6179, allocations: 276.1 kB / 0.5647 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.6179, allocations: 31.72 kB / 0.5647 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.774e-05/0.618, allocations: 46.03 kB / 0.5648 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/0.6189, allocations: 355.4 kB / 0.5651 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.6189, allocations: 4 kB / 0.5651 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.619, allocations: 12.31 kB / 0.5651 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.619, allocations: 15.95 kB / 0.5652 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.6196, allocations: 208.4 kB / 0.5654 GB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.6219, allocations: 1.102 MB / 0.5664 GB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.6227, allocations: 335 kB / 0.5668 GB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.6231, allocations: 164.7 kB / 0.5669 GB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.6232, allocations: 12 kB / 0.5669 GB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.6232, allocations: 42.19 kB / 0.567 GB, free: 8.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 3.346e-06/0.6232, allocations: 0 / 0.567 GB, free: 8.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.005014/0.6283, allocations: 2.266 MB / 0.5692 GB, free: 6.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.6284, allocations: 110.8 kB / 0.5693 GB, free: 6.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.6287, allocations: 212.7 kB / 0.5695 GB, free: 6.031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.6288, allocations: 36.95 kB / 0.5695 GB, free: 5.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.6289, allocations: 231.3 kB / 0.5697 GB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.6291, allocations: 193.4 kB / 0.5699 GB, free: 5.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.6292, allocations: 11.69 kB / 0.5699 GB, free: 5.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6293, allocations: 337.1 kB / 0.5703 GB, free: 5.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.6297, allocations: 115.4 kB / 0.5704 GB, free: 5.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.6301, allocations: 212.2 kB / 0.5706 GB, free: 5.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.6306, allocations: 150.8 kB / 0.5707 GB, free: 4.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6306, allocations: 0 / 0.5707 GB, free: 4.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001402/0.632, allocations: 0.5004 MB / 0.5712 GB, free: 4.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.632, allocations: 12.09 kB / 0.5712 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.6321, allocations: 4.188 kB / 0.5712 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.6327, allocations: 128.3 kB / 0.5713 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.6334, allocations: 95.27 kB / 0.5714 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005286/0.6387, allocations: 4.66 MB / 0.576 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.6392, allocations: 22.86 kB / 0.576 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.6393, allocations: 22.88 kB / 0.576 GB, free: 15.66 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.6395, allocations: 130.2 kB / 0.5762 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.6396, allocations: 46.89 kB / 0.5762 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.6398, allocations: 49.02 kB / 0.5762 GB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.6398, allocations: 4 kB / 0.5762 GB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.6398, allocations: 4 kB / 0.5763 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6399, allocations: 7.922 kB / 0.5763 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.6428, allocations: 1.304 MB / 0.5775 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.6428, allocations: 0 / 0.5775 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008428/0.6437, allocations: 94.89 kB / 0.5776 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/0.6442, allocations: 96.8 kB / 0.5777 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.6442, allocations: 11.62 kB / 0.5777 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/0.6485, allocations: 4.109 MB / 0.5817 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6485, allocations: 0 / 0.5817 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.6504, allocations: 0.9443 MB / 0.5827 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.6506, allocations: 103.8 kB / 0.5828 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.6507, allocations: 10.06 kB / 0.5828 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.6511, allocations: 25.48 kB / 0.5828 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.6513, allocations: 50.25 kB / 0.5828 GB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.6513, allocations: 14.5 kB / 0.5829 GB, free: 8.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002478/0.6516, allocations: 167.9 kB / 0.583 GB, free: 8.738 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6516, allocations: 0 / 0.583 GB, free: 8.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009554/0.6526, allocations: 118.6 kB / 0.5831 GB, free: 8.641 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002107/0.6528, allocations: 121.9 kB / 0.5832 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.6546, allocations: 0.7201 MB / 0.5839 GB, free: 7.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.6547, allocations: 0 / 0.5839 GB, free: 7.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.6562, allocations: 0.5593 MB / 0.5845 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.6573, allocations: 53.55 kB / 0.5845 GB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.6609, allocations: 0.9417 MB / 0.5855 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.6616, allocations: 0.8367 MB / 0.5863 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.6619, allocations: 35.38 kB / 0.5863 GB, free: 5.523 MB / 394.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6619, allocations: 0 / 0.5863 GB, free: 5.523 MB / 394.7 MB Notification: Performance of Templates: time 0.02444/0.6864, allocations: 8.802 MB / 0.5949 GB, free: 12.77 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches