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.00139/0.00139, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001462/0.001462, allocations: 214.1 kB / 24.48 MB, free: 3.844 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.628/1.628, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2426/0.2426, allocations: 46.96 MB / 361.6 MB, free: 3.984 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+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.002093/0.002093, allocations: 67.91 kB / 0.4973 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3154, allocations: 66.04 MB / 0.5618 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004713/0.3202, allocations: 2.648 MB / 0.5644 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.322, allocations: 0.7751 MB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.3224, allocations: 15.88 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.3226, allocations: 59.33 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.3231, allocations: 126.9 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.3235, allocations: 123.8 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006596/0.3242, allocations: 450.3 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.3245, allocations: 130.8 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.3249, allocations: 183.3 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.3253, allocations: 159.2 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.3254, allocations: 36 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3255, allocations: 36 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.3256, allocations: 91.62 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.3258, allocations: 175.2 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.3264, allocations: 464.4 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3264, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3264, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3264, allocations: 0 / 0.5671 GB, free: 14.64 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.001118/0.3275, allocations: 0.6066 MB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3276, allocations: 8.031 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.3279, allocations: 80.62 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.3284, allocations: 237.6 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.3285, allocations: 29.38 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.3285, allocations: 40.31 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.3293, allocations: 385.3 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.3293, allocations: 15.89 kB / 0.5685 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.3293, allocations: 16 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3293, allocations: 8 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.3299, allocations: 243.8 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.3315, allocations: 0.9113 MB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.3321, allocations: 331.4 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.3324, allocations: 154.5 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.3324, allocations: 4 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3324, allocations: 38.56 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.964e-06/0.3324, allocations: 0 / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004075/0.3365, allocations: 2.014 MB / 0.5721 GB, free: 9.242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.3366, allocations: 110.8 kB / 0.5722 GB, free: 9.109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3368, allocations: 200 kB / 0.5724 GB, free: 8.902 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.3369, allocations: 33.7 kB / 0.5724 GB, free: 8.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.337, allocations: 201.3 kB / 0.5726 GB, free: 8.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.3372, allocations: 206.2 kB / 0.5728 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.3374, allocations: 86.28 kB / 0.5729 GB, free: 8.367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000264/0.3376, allocations: 354.7 kB / 0.5732 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.3379, allocations: 125.2 kB / 0.5733 GB, free: 7.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.3382, allocations: 236.7 kB / 0.5736 GB, free: 7.621 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.3389, allocations: 394 kB / 0.5739 GB, free: 7.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3389, allocations: 0 / 0.5739 GB, free: 7.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001058/0.3399, allocations: 0.5539 MB / 0.5745 GB, free: 6.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.34, allocations: 8 kB / 0.5745 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.34, allocations: 0 / 0.5745 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.3404, allocations: 138.7 kB / 0.5746 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.3408, allocations: 87.89 kB / 0.5747 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005077/0.3458, allocations: 4.807 MB / 0.5794 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.3461, allocations: 16 kB / 0.5794 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.3461, allocations: 16.25 kB / 0.5794 GB, free: 1.25 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.0002797/0.3464, allocations: 178.3 kB / 0.5796 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.3465, allocations: 39.77 kB / 0.5796 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3466, allocations: 45.81 kB / 0.5797 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.3466, allocations: 7.984 kB / 0.5797 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.3466, allocations: 4 kB / 0.5797 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.3467, allocations: 4 kB / 0.5797 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.3488, allocations: 1.179 MB / 0.5809 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3488, allocations: 0 / 0.5809 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.3492, allocations: 99.88 kB / 0.5809 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/0.3495, allocations: 94.45 kB / 0.581 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.3495, allocations: 12 kB / 0.581 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003696/0.3532, allocations: 4.045 MB / 0.585 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.3532, allocations: 12.03 kB / 0.585 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3547, allocations: 0.9064 MB / 0.5859 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.3547, allocations: 23.81 kB / 0.5859 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.3548, allocations: 16 kB / 0.5859 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.355, allocations: 19.98 kB / 0.586 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3551, allocations: 51.84 kB / 0.586 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.3552, allocations: 16 kB / 0.586 GB, free: 10.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3553, allocations: 141.9 kB / 0.5862 GB, free: 9.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3553, allocations: 4 kB / 0.5862 GB, free: 9.957 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00073/0.356, allocations: 116 kB / 0.5863 GB, free: 9.844 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.0001381/0.3562, allocations: 106.2 kB / 0.5864 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.3576, allocations: 0.7671 MB / 0.5871 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3576, allocations: 3.938 kB / 0.5871 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.3584, allocations: 0.5625 MB / 0.5877 GB, free: 8.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.3591, allocations: 64.2 kB / 0.5877 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.361, allocations: 1.126 MB / 0.5888 GB, free: 7.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3613, allocations: 216.9 kB / 0.589 GB, free: 6.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.3614, allocations: 31.44 kB / 0.5891 GB, free: 6.82 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3614, allocations: 0 / 0.5891 GB, free: 6.82 MB / 430.1 MB Notification: Performance of Templates: time 0.01309/0.3745, allocations: 9.531 MB / 0.5984 GB, free: 13.28 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.053396990988404]