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.001405/0.001405, allocations: 114 kB / 20.43 MB, free: 1.457 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.001713/0.001713, allocations: 212.6 kB / 23.74 MB, free: 4.672 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2358/0.2358, allocations: 46.92 MB / 360.8 MB, free: 4.172 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.002479/0.002479, allocations: 87.86 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3519, allocations: 66.09 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004475/0.3564, allocations: 2.871 MB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.358, allocations: 0.8101 MB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.3581, allocations: 11.94 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.3583, allocations: 63.33 kB / 0.5644 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.3586, allocations: 130.9 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.3589, allocations: 127.7 kB / 0.5646 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.3594, allocations: 446.3 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.3597, allocations: 140.6 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.36, allocations: 183.3 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.3603, allocations: 195.1 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/0.3603, allocations: 36 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.3604, allocations: 36 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.3605, allocations: 83.7 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.3607, allocations: 214.9 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005747/0.3613, allocations: 458 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3613, allocations: 0 / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3613, allocations: 0 / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.3613, allocations: 0 / 0.5664 GB, free: 14.49 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.001062/0.3624, allocations: 0.6144 MB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3624, allocations: 16.03 kB / 0.567 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/0.3625, allocations: 74.72 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.3628, allocations: 68.62 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.3633, allocations: 241.6 kB / 0.5673 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.3633, allocations: 29.38 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.3634, allocations: 40.38 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007112/0.3641, allocations: 385.2 kB / 0.5678 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.3641, allocations: 7.891 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.3641, allocations: 16 kB / 0.5678 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.3642, allocations: 12 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.3647, allocations: 243.8 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.3664, allocations: 1.055 MB / 0.5691 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.3669, allocations: 330.5 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.3672, allocations: 154.5 kB / 0.5695 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3673, allocations: 11.98 kB / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3673, allocations: 50.42 kB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.773e-06/0.3673, allocations: 0 / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003935/0.3712, allocations: 1.999 MB / 0.5715 GB, free: 8.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.3713, allocations: 114.8 kB / 0.5716 GB, free: 8.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.3716, allocations: 249.9 kB / 0.5719 GB, free: 8.457 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.3716, allocations: 29.7 kB / 0.5719 GB, free: 8.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3718, allocations: 188.9 kB / 0.5721 GB, free: 8.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.372, allocations: 210.2 kB / 0.5723 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3721, allocations: 90.28 kB / 0.5724 GB, free: 7.934 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3723, allocations: 350.7 kB / 0.5727 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.3726, allocations: 129.2 kB / 0.5728 GB, free: 7.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.373, allocations: 228.8 kB / 0.5731 GB, free: 7.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/0.3736, allocations: 405.9 kB / 0.5734 GB, free: 6.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3736, allocations: 0 / 0.5734 GB, free: 6.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001066/0.3747, allocations: 0.5501 MB / 0.574 GB, free: 6.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3747, allocations: 11.94 kB / 0.574 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3747, allocations: 7.984 kB / 0.574 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/0.3751, allocations: 122.6 kB / 0.5741 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.3755, allocations: 95.88 kB / 0.5742 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.3804, allocations: 4.903 MB / 0.579 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.3807, allocations: 23.98 kB / 0.579 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.3808, allocations: 20 kB / 0.579 GB, free: 0.668 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.0002497/0.381, allocations: 169.8 kB / 0.5792 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3811, allocations: 39.77 kB / 0.5792 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.447e-05/0.3812, allocations: 46.11 kB / 0.5793 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.3812, allocations: 4 kB / 0.5793 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/0.3813, allocations: 7.938 kB / 0.5793 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.3813, allocations: 7.922 kB / 0.5793 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.3834, allocations: 1.291 MB / 0.5806 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3834, allocations: 0 / 0.5806 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.3838, allocations: 100 kB / 0.5807 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002875/0.3841, allocations: 94.45 kB / 0.5807 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.3841, allocations: 16.09 kB / 0.5808 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003695/0.3878, allocations: 4.119 MB / 0.5848 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3878, allocations: 4.062 kB / 0.5848 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.3892, allocations: 0.9244 MB / 0.5857 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.3893, allocations: 35.83 kB / 0.5857 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.3893, allocations: 12 kB / 0.5857 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.3896, allocations: 15.98 kB / 0.5858 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.3897, allocations: 51.86 kB / 0.5858 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.3897, allocations: 15.98 kB / 0.5858 GB, free: 9.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.3899, allocations: 177.2 kB / 0.586 GB, free: 9.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3899, allocations: 0 / 0.586 GB, free: 9.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007077/0.3906, allocations: 124 kB / 0.5861 GB, free: 8.961 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.001784/0.3924, allocations: 1.482 MB / 0.5876 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.394, allocations: 0.7535 MB / 0.5883 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.394, allocations: 0 / 0.5883 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008839/0.3949, allocations: 0.5645 MB / 0.5888 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.3956, allocations: 69.22 kB / 0.5889 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006463/0.402, allocations: 4.181 MB / 0.593 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007255/0.4028, allocations: 0.8202 MB / 0.5938 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.403, allocations: 43.25 kB / 0.5938 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.4032, allocations: 127.4 kB / 0.594 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4032, allocations: 0 / 0.594 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0504/0.4536, allocations: 8.802 MB / 0.6025 GB, free: 7.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.81, allocations: 6.094 kB / 0.6026 GB, free: 7.91 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: 15.957155319862068]