Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001321/0.001321, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002313/0.002313, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2752/0.2752, allocations: 46.96 MB / 360.9 MB, free: 4.164 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 67.91 kB / 0.4961 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3446, allocations: 66.03 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.003529/0.3482, allocations: 1.615 MB / 0.5622 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004141/0.3486, allocations: 107.6 kB / 0.5623 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.3487, allocations: 3.938 kB / 0.5623 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.377e-05/0.3488, allocations: 19.86 kB / 0.5623 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.3489, allocations: 35.64 kB / 0.5623 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.3491, allocations: 23.97 kB / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3493, allocations: 135.4 kB / 0.5625 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.3495, allocations: 21.31 kB / 0.5625 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.3496, allocations: 51.84 kB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3497, allocations: 43.78 kB / 0.5626 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.3497, allocations: 8 kB / 0.5626 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-05/0.3497, allocations: 12 kB / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.3498, allocations: 19.92 kB / 0.5626 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.3498, allocations: 51.8 kB / 0.5627 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.3501, allocations: 129.3 kB / 0.5628 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3501, allocations: 0 / 0.5628 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3501, allocations: 0 / 0.5628 GB, free: 1.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3501, allocations: 0 / 0.5628 GB, free: 1.98 MB / 398.1 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.0005876/0.3507, allocations: 334 kB / 0.5631 GB, free: 1.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3507, allocations: 16.03 kB / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.3508, allocations: 46.73 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.3508, allocations: 8.891 kB / 0.5632 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3511, allocations: 134.4 kB / 0.5633 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3511, allocations: 12.61 kB / 0.5633 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.3511, allocations: 16.36 kB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.3514, allocations: 121.6 kB / 0.5634 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3514, allocations: 11.83 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3514, allocations: 8 kB / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3515, allocations: 0 / 0.5635 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.3516, allocations: 63.91 kB / 0.5635 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.3524, allocations: 467.7 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.3526, allocations: 89.09 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.3526, allocations: 33.73 kB / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.3527, allocations: 0 / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3527, allocations: 34.56 kB / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.3527, allocations: 0 / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005562/0.3532, allocations: 151.2 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.3533, allocations: 81.11 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3534, allocations: 129.7 kB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3534, allocations: 25.7 kB / 0.5645 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.3535, allocations: 115.8 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.3536, allocations: 35.73 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3536, allocations: 29.72 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3538, allocations: 322.8 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.3539, allocations: 27.98 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.354, allocations: 84.52 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.3541, allocations: 120.5 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3541, allocations: 0 / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000323/0.3545, allocations: 167.1 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3545, allocations: 14.44 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3545, allocations: 3.938 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.3547, allocations: 33.7 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3548, allocations: 27.98 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.3572, allocations: 2.539 MB / 0.5679 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.3573, allocations: 7.984 kB / 0.5679 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3573, allocations: 8 kB / 0.5679 GB, free: 12.19 MB / 414.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.3574, allocations: 134 kB / 0.5681 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.3575, allocations: 11.89 kB / 0.5681 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.3575, allocations: 8 kB / 0.5681 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3575, allocations: 0 / 0.5681 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3575, allocations: 4 kB / 0.5681 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3575, allocations: 0 / 0.5681 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.3578, allocations: 164.7 kB / 0.5682 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3578, allocations: 0 / 0.5682 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.734e-05/0.3579, allocations: 23.92 kB / 0.5683 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.358, allocations: 33.64 kB / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.358, allocations: 8 kB / 0.5683 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.3601, allocations: 2.515 MB / 0.5708 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3601, allocations: 4.344 kB / 0.5708 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.3605, allocations: 312.3 kB / 0.5711 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.3605, allocations: 4.25 kB / 0.5711 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3606, allocations: 4 kB / 0.5711 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.3607, allocations: 4 kB / 0.5711 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.3607, allocations: 8.031 kB / 0.5711 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3607, allocations: 3.984 kB / 0.5711 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.686e-05/0.3608, allocations: 91.28 kB / 0.5712 GB, free: 8.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3608, allocations: 3.938 kB / 0.5712 GB, free: 8.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.3611, allocations: 39.89 kB / 0.5712 GB, free: 8.512 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007392/0.3619, allocations: 0.8344 MB / 0.572 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005122/0.3624, allocations: 305.2 kB / 0.5723 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3624, allocations: 0 / 0.5723 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.3627, allocations: 254.3 kB / 0.5726 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3631, allocations: 32.06 kB / 0.5726 GB, free: 7.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.3655, allocations: 1.975 MB / 0.5745 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.936e-05/0.3656, allocations: 97.62 kB / 0.5746 GB, free: 4.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.3656, allocations: 8.969 kB / 0.5746 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.3657, allocations: 27.44 kB / 0.5746 GB, free: 4.734 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3657, allocations: 0 / 0.5746 GB, free: 4.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.4032, allocations: 3.627 MB / 0.5782 GB, free: 1.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.96, allocations: 7.609 kB / 0.5782 GB, free: 1.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.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: 15.019368358887732]