Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001834/0.001834, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.002215/0.002215, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.553/1.553, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.95 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 79.86 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3779, allocations: 66.08 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002953/0.3808, allocations: 1.615 MB / 0.5622 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.3811, allocations: 99.67 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.3812, allocations: 7.938 kB / 0.5624 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.244e-05/0.3812, allocations: 15.86 kB / 0.5624 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.3813, allocations: 39.64 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.3815, allocations: 31.89 kB / 0.5624 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.3816, allocations: 127.5 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3818, allocations: 21.3 kB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.3819, allocations: 55.78 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.399e-05/0.3819, allocations: 43.78 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.382, allocations: 8 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.437e-05/0.382, allocations: 12 kB / 0.5627 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.382, allocations: 27.92 kB / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.3821, allocations: 43.8 kB / 0.5628 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3823, allocations: 125.3 kB / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3823, allocations: 0 / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3823, allocations: 0 / 0.5629 GB, free: 1.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3823, allocations: 0 / 0.5629 GB, free: 1.773 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.0006256/0.3829, allocations: 338 kB / 0.5632 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.383, allocations: 16.02 kB / 0.5632 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.383, allocations: 42.75 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.383, allocations: 8.891 kB / 0.5633 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.3832, allocations: 134.4 kB / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3833, allocations: 16.55 kB / 0.5634 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.3833, allocations: 12.38 kB / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.3835, allocations: 125.6 kB / 0.5635 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3836, allocations: 7.891 kB / 0.5635 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3836, allocations: 8 kB / 0.5636 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3836, allocations: 7.984 kB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3837, allocations: 59.08 kB / 0.5636 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.3844, allocations: 475.6 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.3846, allocations: 81.08 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.3846, allocations: 29.83 kB / 0.5642 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.3846, allocations: 7.938 kB / 0.5642 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3847, allocations: 34.56 kB / 0.5642 GB, free: 248 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.3847, allocations: 0 / 0.5642 GB, free: 248 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005111/0.3852, allocations: 143.2 kB / 0.5644 GB, free: 92 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.3852, allocations: 81.05 kB / 0.5644 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3854, allocations: 133.7 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3854, allocations: 29.7 kB / 0.5646 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.3855, allocations: 119.8 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.3855, allocations: 31.73 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.3855, allocations: 33.7 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3857, allocations: 318.8 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.3857, allocations: 23.98 kB / 0.5651 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.807e-05/0.3858, allocations: 86.83 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.386, allocations: 120.5 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.386, allocations: 4 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003013/0.3863, allocations: 163.5 kB / 0.5655 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3864, allocations: 16.23 kB / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3864, allocations: 3.938 kB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.3865, allocations: 41.64 kB / 0.5655 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.3866, allocations: 16 kB / 0.5655 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.3888, allocations: 2.539 MB / 0.568 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.3889, allocations: 11.98 kB / 0.568 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3889, allocations: 8 kB / 0.568 GB, free: 11.98 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.0001256/0.389, allocations: 133.1 kB / 0.5681 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.3891, allocations: 11.89 kB / 0.5682 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.3891, allocations: 8 kB / 0.5682 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3891, allocations: 12.11 kB / 0.5682 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3891, allocations: 0 / 0.5682 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3891, allocations: 0 / 0.5682 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3894, allocations: 160.7 kB / 0.5683 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3894, allocations: 0 / 0.5683 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.3895, allocations: 15.98 kB / 0.5683 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.3896, allocations: 37.64 kB / 0.5684 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3896, allocations: 7.938 kB / 0.5684 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.3917, allocations: 2.52 MB / 0.5709 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3917, allocations: 4 kB / 0.5709 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.3921, allocations: 308.3 kB / 0.5712 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.3921, allocations: 4.281 kB / 0.5712 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3921, allocations: 4.281 kB / 0.5712 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.3922, allocations: 4 kB / 0.5712 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3922, allocations: 11.98 kB / 0.5712 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3922, allocations: 0 / 0.5712 GB, free: 8.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.732e-05/0.3923, allocations: 99.64 kB / 0.5713 GB, free: 8.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3923, allocations: 0 / 0.5713 GB, free: 8.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.3927, allocations: 39.89 kB / 0.5713 GB, free: 8.301 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.0007881/0.3935, allocations: 0.8304 MB / 0.5721 GB, free: 7.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006005/0.3941, allocations: 317.5 kB / 0.5724 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3941, allocations: 0 / 0.5724 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.3944, allocations: 253.3 kB / 0.5727 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.3949, allocations: 27.92 kB / 0.5727 GB, free: 6.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.3975, allocations: 1.97 MB / 0.5746 GB, free: 4.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3977, allocations: 97.61 kB / 0.5747 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.3977, allocations: 4.984 kB / 0.5747 GB, free: 4.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.3978, allocations: 31.42 kB / 0.5747 GB, free: 4.523 MB / 414.1 MB Notification: Performance of SimCode: time 1.313e-06/0.3978, allocations: 4 kB / 0.5747 GB, free: 4.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.4345, allocations: 3.632 MB / 0.5783 GB, free: 1.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 11.77 kB / 0.5783 GB, free: 0.9961 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 14.77683449210599]