Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001663/0.001663, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001932/0.001932, allocations: 211.2 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.4 MB / 258.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2694/0.2694, allocations: 46.94 MB / 362 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 79.86 kB / 0.4978 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3436, allocations: 66.09 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004298/0.3479, allocations: 2.851 MB / 0.5651 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3494, allocations: 0.8023 MB / 0.5659 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.3495, allocations: 15.88 kB / 0.5659 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.3497, allocations: 63.33 kB / 0.566 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.35, allocations: 130.9 kB / 0.5661 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.3504, allocations: 119.8 kB / 0.5662 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.3509, allocations: 450.3 kB / 0.5666 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.3512, allocations: 138.8 kB / 0.5668 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.3514, allocations: 183.3 kB / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.3517, allocations: 187.2 kB / 0.5671 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.138e-05/0.3518, allocations: 43.92 kB / 0.5672 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.3519, allocations: 43.94 kB / 0.5672 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.3519, allocations: 75.77 kB / 0.5673 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.3522, allocations: 210.9 kB / 0.5675 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.3528, allocations: 468.5 kB / 0.5679 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3528, allocations: 0 / 0.5679 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3528, allocations: 0 / 0.5679 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3528, allocations: 3.938 kB / 0.5679 GB, free: 14.5 MB / 414.1 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.001058/0.3539, allocations: 0.6106 MB / 0.5685 GB, free: 13.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3539, allocations: 8.031 kB / 0.5685 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.3543, allocations: 72.61 kB / 0.5686 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.3547, allocations: 245.5 kB / 0.5688 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.3548, allocations: 29.38 kB / 0.5689 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.3549, allocations: 44.31 kB / 0.5689 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.3556, allocations: 385.3 kB / 0.5693 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.3556, allocations: 3.953 kB / 0.5693 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.3556, allocations: 16 kB / 0.5693 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3556, allocations: 12 kB / 0.5693 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.3562, allocations: 243.8 kB / 0.5695 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.3578, allocations: 1.059 MB / 0.5706 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.3584, allocations: 319.5 kB / 0.5709 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.3587, allocations: 158.5 kB / 0.571 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.3587, allocations: 8 kB / 0.571 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.3588, allocations: 38.56 kB / 0.5711 GB, free: 11.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.813e-06/0.3588, allocations: 3.938 kB / 0.5711 GB, free: 11.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004061/0.3628, allocations: 2.016 MB / 0.573 GB, free: 8.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.3629, allocations: 110.8 kB / 0.5732 GB, free: 8.797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.3632, allocations: 249.9 kB / 0.5734 GB, free: 8.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3632, allocations: 37.64 kB / 0.5734 GB, free: 8.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3634, allocations: 184.9 kB / 0.5736 GB, free: 8.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.3635, allocations: 210.2 kB / 0.5738 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.3637, allocations: 82.34 kB / 0.5739 GB, free: 8.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3638, allocations: 350.7 kB / 0.5742 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.3641, allocations: 133.2 kB / 0.5743 GB, free: 7.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.3644, allocations: 232.7 kB / 0.5746 GB, free: 7.281 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/0.3651, allocations: 402 kB / 0.575 GB, free: 6.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3651, allocations: 0 / 0.575 GB, free: 6.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001092/0.3662, allocations: 0.5541 MB / 0.5755 GB, free: 6.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3662, allocations: 8 kB / 0.5755 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3662, allocations: 4 kB / 0.5755 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/0.3666, allocations: 130.5 kB / 0.5756 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.367, allocations: 91.89 kB / 0.5757 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/0.3718, allocations: 4.908 MB / 0.5805 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.372, allocations: 19.98 kB / 0.5805 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.3721, allocations: 20 kB / 0.5805 GB, free: 0.7578 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000235/0.3723, allocations: 169.8 kB / 0.5807 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3724, allocations: 39.77 kB / 0.5807 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.3725, allocations: 46.11 kB / 0.5808 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3725, allocations: 4 kB / 0.5808 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.3725, allocations: 11.88 kB / 0.5808 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3725, allocations: 3.984 kB / 0.5808 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.375, allocations: 1.293 MB / 0.5821 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.375, allocations: 4 kB / 0.5821 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.3754, allocations: 88.08 kB / 0.5822 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003273/0.3757, allocations: 94.45 kB / 0.5823 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.3758, allocations: 24.02 kB / 0.5823 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/0.3796, allocations: 4.118 MB / 0.5863 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.3796, allocations: 8.031 kB / 0.5863 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.3811, allocations: 0.9142 MB / 0.5872 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.3812, allocations: 39.81 kB / 0.5872 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.3812, allocations: 15.94 kB / 0.5872 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.3815, allocations: 15.98 kB / 0.5873 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3816, allocations: 51.86 kB / 0.5873 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3816, allocations: 16 kB / 0.5873 GB, free: 9.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.3818, allocations: 177.2 kB / 0.5875 GB, free: 9.168 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3818, allocations: 0 / 0.5875 GB, free: 9.168 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007094/0.3825, allocations: 120 kB / 0.5876 GB, free: 9.051 MB / 430.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001435/0.3827, allocations: 111.1 kB / 0.5877 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.3841, allocations: 0.7648 MB / 0.5885 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3841, allocations: 0 / 0.5885 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008609/0.385, allocations: 0.5643 MB / 0.589 GB, free: 7.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.3856, allocations: 56.11 kB / 0.5891 GB, free: 7.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.3876, allocations: 1.116 MB / 0.5902 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.388, allocations: 0.8202 MB / 0.591 GB, free: 5.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.3882, allocations: 35.25 kB / 0.591 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.3882, allocations: 31.44 kB / 0.591 GB, free: 5.406 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3882, allocations: 0 / 0.591 GB, free: 5.406 MB / 430.1 MB Notification: Performance of Templates: time 0.01019/0.3984, allocations: 4.885 MB / 0.5958 GB, free: 0.5312 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.330293161096051]