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.001352/0.001352, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001523/0.001523, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.496/1.496, allocations: 230.5 MB / 258.2 MB, free: 7.785 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.2413/0.2413, allocations: 46.94 MB / 361.6 MB, free: 3.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 79.88 kB / 0.4969 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3575, allocations: 66.09 MB / 0.5614 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004699/0.3622, allocations: 2.639 MB / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3638, allocations: 0.7751 MB / 0.5648 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.364, allocations: 15.88 kB / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.3642, allocations: 59.33 kB / 0.5648 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.3644, allocations: 126.9 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.3648, allocations: 119.8 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.3653, allocations: 454.4 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.3656, allocations: 140.5 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.366, allocations: 179.4 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.3663, allocations: 195.2 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.3664, allocations: 32 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.3665, allocations: 47.98 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.3666, allocations: 79.64 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.3668, allocations: 171.2 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.3674, allocations: 470 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3674, allocations: 0 / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3674, allocations: 0 / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3674, allocations: 0 / 0.5668 GB, free: 14.53 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.001083/0.3685, allocations: 0.6105 MB / 0.5674 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3685, allocations: 8.031 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.78e-05/0.3686, allocations: 13.19 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.606e-05/0.3686, allocations: 78.72 kB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.369, allocations: 68.62 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005185/0.3695, allocations: 241.7 kB / 0.5678 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.3695, allocations: 33.31 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.109e-05/0.3696, allocations: 36.38 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007597/0.3704, allocations: 389 kB / 0.5682 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.3704, allocations: 7.953 kB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.3704, allocations: 12 kB / 0.5682 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3704, allocations: 12 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.371, allocations: 247.8 kB / 0.5685 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.3727, allocations: 0.9809 MB / 0.5694 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.3733, allocations: 323.4 kB / 0.5697 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.3736, allocations: 169.6 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.3737, allocations: 4 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.3737, allocations: 42.5 kB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.174e-06/0.3737, allocations: 0 / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004125/0.3778, allocations: 2.01 MB / 0.5719 GB, free: 8.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.3779, allocations: 110.8 kB / 0.572 GB, free: 8.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.3782, allocations: 249.8 kB / 0.5722 GB, free: 8.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3783, allocations: 33.7 kB / 0.5723 GB, free: 8.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.3784, allocations: 188.8 kB / 0.5725 GB, free: 8.336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.3786, allocations: 206.2 kB / 0.5726 GB, free: 8.133 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.3787, allocations: 90.34 kB / 0.5727 GB, free: 8.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.379, allocations: 346.8 kB / 0.5731 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.3792, allocations: 129.2 kB / 0.5732 GB, free: 7.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.3796, allocations: 232.7 kB / 0.5734 GB, free: 7.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.3802, allocations: 402 kB / 0.5738 GB, free: 6.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3802, allocations: 0 / 0.5738 GB, free: 6.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00107/0.3813, allocations: 0.5501 MB / 0.5743 GB, free: 6.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3813, allocations: 8 kB / 0.5743 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3813, allocations: 4 kB / 0.5743 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004074/0.3817, allocations: 130.7 kB / 0.5745 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.3821, allocations: 95.88 kB / 0.5746 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004892/0.387, allocations: 4.872 MB / 0.5793 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.3873, allocations: 20 kB / 0.5793 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.3874, allocations: 23.98 kB / 0.5794 GB, free: 0.8086 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.0002377/0.3876, allocations: 174.9 kB / 0.5795 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3877, allocations: 35.77 kB / 0.5796 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.724e-05/0.3878, allocations: 50.11 kB / 0.5796 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3878, allocations: 11.94 kB / 0.5796 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.3878, allocations: 7.938 kB / 0.5796 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3878, allocations: 7.922 kB / 0.5796 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.3901, allocations: 1.227 MB / 0.5808 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.3901, allocations: 4 kB / 0.5808 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.3905, allocations: 95.88 kB / 0.5809 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003209/0.3908, allocations: 102.5 kB / 0.581 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.3909, allocations: 16 kB / 0.581 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.3948, allocations: 4.103 MB / 0.585 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.3948, allocations: 4.031 kB / 0.5851 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.3963, allocations: 0.9219 MB / 0.586 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.3964, allocations: 31.77 kB / 0.586 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.3964, allocations: 12.06 kB / 0.586 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.3967, allocations: 24.05 kB / 0.586 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3968, allocations: 47.8 kB / 0.5861 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.3969, allocations: 16 kB / 0.5861 GB, free: 9.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3971, allocations: 177.2 kB / 0.5862 GB, free: 9.285 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3971, allocations: 4 kB / 0.5862 GB, free: 9.281 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007289/0.3978, allocations: 120 kB / 0.5864 GB, free: 9.164 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.001945/0.3997, allocations: 1.477 MB / 0.5878 GB, free: 7.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.4012, allocations: 0.7612 MB / 0.5885 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.4012, allocations: 0 / 0.5885 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009065/0.4021, allocations: 0.5567 MB / 0.5891 GB, free: 6.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.4028, allocations: 60.23 kB / 0.5891 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006311/0.4091, allocations: 4.191 MB / 0.5932 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.4094, allocations: 224.9 kB / 0.5935 GB, free: 1.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.4096, allocations: 35.25 kB / 0.5935 GB, free: 1.535 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.4098, allocations: 135.4 kB / 0.5936 GB, free: 1.406 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4098, allocations: 0 / 0.5936 GB, free: 1.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04197/0.4517, allocations: 8.964 MB / 0.6024 GB, free: 8.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.26, allocations: 11.7 kB / 0.6024 GB, free: 8.598 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.622389715979807]