Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001705/0.001705, 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.002048/0.002048, allocations: 213.9 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.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2301/0.2301, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 83.86 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3162, allocations: 66.08 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004276/0.3205, allocations: 2.655 MB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3218, allocations: 0.7673 MB / 0.564 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.322, allocations: 15.88 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.3222, allocations: 67.33 kB / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.3224, allocations: 126.9 kB / 0.5642 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3227, allocations: 119.8 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.3232, allocations: 446.3 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.3234, allocations: 140.6 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.3237, allocations: 175.4 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.3239, allocations: 167.1 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.324, allocations: 36 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.3241, allocations: 39.98 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.3241, allocations: 87.62 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.3243, allocations: 171.2 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.3248, allocations: 458 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3248, allocations: 0 / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3248, allocations: 0 / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3249, allocations: 0 / 0.566 GB, free: 14.56 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.001011/0.3259, allocations: 0.6183 MB / 0.5666 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3259, allocations: 12.03 kB / 0.5666 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.412e-05/0.326, allocations: 74.72 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.3263, allocations: 68.62 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.3267, allocations: 249.6 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.3268, allocations: 33.31 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.3268, allocations: 40.31 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.3275, allocations: 385.2 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.3275, allocations: 7.953 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.3275, allocations: 16 kB / 0.5674 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3275, allocations: 8 kB / 0.5674 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005268/0.3281, allocations: 251.8 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.3297, allocations: 0.9731 MB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.3302, allocations: 331.4 kB / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.3305, allocations: 154.5 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3305, allocations: 7.984 kB / 0.5691 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3306, allocations: 42.5 kB / 0.5691 GB, free: 11.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.3306, allocations: 0 / 0.5691 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003795/0.3344, allocations: 2.015 MB / 0.5711 GB, free: 8.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.3344, allocations: 110.8 kB / 0.5712 GB, free: 8.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.3347, allocations: 245.9 kB / 0.5714 GB, free: 8.594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3347, allocations: 33.7 kB / 0.5715 GB, free: 8.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.3349, allocations: 184.9 kB / 0.5717 GB, free: 8.371 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.3351, allocations: 206.2 kB / 0.5719 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3352, allocations: 90.34 kB / 0.5719 GB, free: 8.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3354, allocations: 350.7 kB / 0.5723 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.3356, allocations: 129.2 kB / 0.5724 GB, free: 7.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.336, allocations: 236.7 kB / 0.5726 GB, free: 7.328 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.3367, allocations: 398 kB / 0.573 GB, free: 6.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3367, allocations: 0 / 0.573 GB, free: 6.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001046/0.3378, allocations: 0.5657 MB / 0.5736 GB, free: 6.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3378, allocations: 11.94 kB / 0.5736 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3378, allocations: 4 kB / 0.5736 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/0.3381, allocations: 118.5 kB / 0.5737 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.3385, allocations: 99.88 kB / 0.5738 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.3432, allocations: 4.884 MB / 0.5785 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.3434, allocations: 16 kB / 0.5786 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.3434, allocations: 19.98 kB / 0.5786 GB, free: 0.8242 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.0002117/0.3436, allocations: 165.7 kB / 0.5787 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.3437, allocations: 39.77 kB / 0.5788 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.956e-05/0.3438, allocations: 50.11 kB / 0.5788 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3438, allocations: 8.062 kB / 0.5788 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/0.3439, allocations: 7.938 kB / 0.5788 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3439, allocations: 3.984 kB / 0.5788 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.346, allocations: 1.233 MB / 0.58 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.346, allocations: 0 / 0.58 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.3464, allocations: 100.1 kB / 0.5801 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.3467, allocations: 102.4 kB / 0.5802 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.3467, allocations: 12 kB / 0.5803 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003694/0.3504, allocations: 4.098 MB / 0.5843 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3504, allocations: 4 kB / 0.5843 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.3519, allocations: 0.9221 MB / 0.5852 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.3519, allocations: 35.75 kB / 0.5852 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.352, allocations: 12.06 kB / 0.5852 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.3522, allocations: 19.98 kB / 0.5852 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3524, allocations: 47.8 kB / 0.5853 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.3524, allocations: 12 kB / 0.5853 GB, free: 9.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.3526, allocations: 181.2 kB / 0.5855 GB, free: 9.312 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3526, allocations: 4 kB / 0.5855 GB, free: 9.309 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007226/0.3533, allocations: 127.9 kB / 0.5856 GB, free: 9.184 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.00174/0.355, allocations: 1.469 MB / 0.587 GB, free: 7.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.3564, allocations: 0.7571 MB / 0.5878 GB, free: 6.879 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3564, allocations: 0 / 0.5878 GB, free: 6.879 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.3572, allocations: 0.5606 MB / 0.5883 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.3579, allocations: 62.09 kB / 0.5884 GB, free: 6.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005713/0.3636, allocations: 4.175 MB / 0.5924 GB, free: 1.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.3638, allocations: 228.7 kB / 0.5927 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.364, allocations: 43.25 kB / 0.5927 GB, free: 1.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.3642, allocations: 131.4 kB / 0.5928 GB, free: 1.441 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3642, allocations: 0 / 0.5928 GB, free: 1.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/0.409, allocations: 9.186 MB / 0.6018 GB, free: 8.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.97, allocations: 4.688 kB / 0.6018 GB, free: 8.398 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 15.062757634557784]