Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 107.6 kB / 21.19 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 215.6 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2558/0.2558, allocations: 46.96 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 67.91 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3807, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004413/0.3851, allocations: 2.652 MB / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3867, allocations: 0.7751 MB / 0.5652 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.3869, allocations: 15.88 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.3871, allocations: 55.33 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.3874, allocations: 134.9 kB / 0.5654 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.3877, allocations: 119.8 kB / 0.5655 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000505/0.3882, allocations: 446.3 kB / 0.5659 GB, free: 16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.3885, allocations: 142.8 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.3888, allocations: 183.3 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.3891, allocations: 187.2 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.78e-05/0.3892, allocations: 36 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.3892, allocations: 44 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.3893, allocations: 83.64 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3895, allocations: 175.2 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.3901, allocations: 460.4 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3901, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3901, allocations: 0 / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3901, allocations: 0 / 0.5671 GB, free: 14.71 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.001057/0.3911, allocations: 0.6144 MB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3912, allocations: 12.03 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003421/0.3915, allocations: 72.62 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.392, allocations: 237.6 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.392, allocations: 33.31 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.3921, allocations: 40.38 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.3928, allocations: 385.3 kB / 0.5685 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.3928, allocations: 7.953 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.3928, allocations: 16 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3928, allocations: 8 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.3933, allocations: 243.8 kB / 0.5688 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3949, allocations: 0.9113 MB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.3955, allocations: 331.4 kB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.3957, allocations: 154.5 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.3958, allocations: 8 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3958, allocations: 34.56 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 4.268e-06/0.3958, allocations: 3.984 kB / 0.5702 GB, free: 11.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003792/0.3996, allocations: 2.009 MB / 0.5721 GB, free: 9.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.3997, allocations: 110.8 kB / 0.5722 GB, free: 9.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.3999, allocations: 196.1 kB / 0.5724 GB, free: 8.973 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.3999, allocations: 41.64 kB / 0.5724 GB, free: 8.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.4001, allocations: 201.3 kB / 0.5726 GB, free: 8.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.4003, allocations: 206.2 kB / 0.5728 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.4004, allocations: 86.34 kB / 0.5729 GB, free: 8.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4006, allocations: 350.7 kB / 0.5733 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.4008, allocations: 125.2 kB / 0.5734 GB, free: 7.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.4012, allocations: 232.7 kB / 0.5736 GB, free: 7.691 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.4018, allocations: 406 kB / 0.574 GB, free: 7.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.4018, allocations: 0 / 0.574 GB, free: 7.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001024/0.4028, allocations: 0.5501 MB / 0.5745 GB, free: 6.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4029, allocations: 8 kB / 0.5745 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4029, allocations: 0 / 0.5745 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.4032, allocations: 130.5 kB / 0.5746 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.4036, allocations: 91.89 kB / 0.5747 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.4081, allocations: 4.811 MB / 0.5794 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.4083, allocations: 16 kB / 0.5794 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.4084, allocations: 19.94 kB / 0.5795 GB, free: 1.309 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.000231/0.4086, allocations: 181.3 kB / 0.5796 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4087, allocations: 43.77 kB / 0.5797 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.938e-05/0.4088, allocations: 37.81 kB / 0.5797 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.4088, allocations: 8 kB / 0.5797 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/0.4088, allocations: 7.922 kB / 0.5797 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4088, allocations: 4 kB / 0.5797 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.4108, allocations: 1.175 MB / 0.5809 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4108, allocations: 0 / 0.5809 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.4112, allocations: 99.88 kB / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002972/0.4115, allocations: 98.55 kB / 0.5811 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.4116, allocations: 12.19 kB / 0.5811 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003465/0.415, allocations: 4.041 MB / 0.585 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.415, allocations: 7.969 kB / 0.585 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.4164, allocations: 0.9064 MB / 0.5859 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.4165, allocations: 23.81 kB / 0.5859 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.4165, allocations: 20.12 kB / 0.586 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.4168, allocations: 24.05 kB / 0.586 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.4169, allocations: 51.84 kB / 0.586 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.4169, allocations: 12 kB / 0.5861 GB, free: 10.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.4171, allocations: 145.9 kB / 0.5862 GB, free: 10.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4171, allocations: 0 / 0.5862 GB, free: 10.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007318/0.4178, allocations: 116 kB / 0.5863 GB, free: 9.906 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.0001524/0.4179, allocations: 111.2 kB / 0.5864 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.4193, allocations: 0.7616 MB / 0.5872 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4193, allocations: 0 / 0.5872 GB, free: 8.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008118/0.4201, allocations: 0.5688 MB / 0.5877 GB, free: 8.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.4208, allocations: 60.58 kB / 0.5878 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.4228, allocations: 1.132 MB / 0.5889 GB, free: 7.141 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.4231, allocations: 216.9 kB / 0.5891 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.4231, allocations: 31.44 kB / 0.5891 GB, free: 6.875 MB / 430.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4231, allocations: 0 / 0.5891 GB, free: 6.875 MB / 430.1 MB Notification: Performance of Templates: time 0.01262/0.4358, allocations: 9.528 MB / 0.5984 GB, free: 13.34 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 9.412286986975232]