Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.002233/0.002233, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.002757/0.002757, allocations: 211.1 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 207.6 MB / 231.2 MB, free: 4.117 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3354/0.3354, allocations: 44.23 MB / 327.3 MB, free: 7.094 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 68.38 kB / 462.9 MB, free: 1.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.252, allocations: 61.01 MB / 0.5116 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003302/0.2553, allocations: 2.855 MB / 0.5144 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.2565, allocations: 0.7555 MB / 0.5152 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.2567, allocations: 14.91 kB / 0.5152 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.257, allocations: 62.69 kB / 0.5152 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.2573, allocations: 124.8 kB / 0.5154 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.2576, allocations: 95.38 kB / 0.5154 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.258, allocations: 446.3 kB / 0.5159 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.2582, allocations: 137.2 kB / 0.516 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.2584, allocations: 180.9 kB / 0.5162 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.2586, allocations: 191.2 kB / 0.5164 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.2586, allocations: 34.38 kB / 0.5164 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.2587, allocations: 35.75 kB / 0.5164 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.2588, allocations: 82.69 kB / 0.5165 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.2589, allocations: 201 kB / 0.5167 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.2593, allocations: 453.6 kB / 0.5171 GB, free: 8.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2593, allocations: 5.312 kB / 0.5171 GB, free: 8.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2593, allocations: 0 / 0.5171 GB, free: 8.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2593, allocations: 4 kB / 0.5171 GB, free: 8.859 MB / 382.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.0009219/0.2602, allocations: 0.6729 MB / 0.5178 GB, free: 8.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2603, allocations: 13.42 kB / 0.5178 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.149e-05/0.2603, allocations: 11.34 kB / 0.5178 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.2604, allocations: 74.28 kB / 0.5179 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.2604, allocations: 46.34 kB / 0.5179 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.2608, allocations: 301.1 kB / 0.5182 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.2608, allocations: 29.41 kB / 0.5182 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.2609, allocations: 45.45 kB / 0.5183 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.2615, allocations: 380.6 kB / 0.5187 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.2615, allocations: 5.375 kB / 0.5187 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.2616, allocations: 16.12 kB / 0.5187 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2616, allocations: 13.61 kB / 0.5187 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.262, allocations: 253.2 kB / 0.5189 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.2633, allocations: 1.097 MB / 0.52 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.2638, allocations: 327.5 kB / 0.5203 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.264, allocations: 163.2 kB / 0.5205 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.264, allocations: 8 kB / 0.5205 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.2641, allocations: 46.42 kB / 0.5205 GB, free: 5.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.355e-06/0.2641, allocations: 4 kB / 0.5205 GB, free: 5.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003251/0.2673, allocations: 2.443 MB / 0.5229 GB, free: 2.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.2674, allocations: 114.8 kB / 0.523 GB, free: 2.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.2676, allocations: 242.6 kB / 0.5232 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.2676, allocations: 33.7 kB / 0.5233 GB, free: 2.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.2677, allocations: 188.9 kB / 0.5235 GB, free: 2.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.808e-05/0.2678, allocations: 214 kB / 0.5237 GB, free: 2.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2679, allocations: 90.25 kB / 0.5238 GB, free: 2.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.2679, allocations: 346.8 kB / 0.5241 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.2682, allocations: 129.1 kB / 0.5242 GB, free: 1.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.2684, allocations: 223.8 kB / 0.5244 GB, free: 1.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/0.2689, allocations: 405.9 kB / 0.5248 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2689, allocations: 0 / 0.5248 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008883/0.2698, allocations: 0.5501 MB / 0.5253 GB, free: 288 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2698, allocations: 8 kB / 0.5254 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2699, allocations: 4 kB / 0.5254 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/0.2702, allocations: 122.4 kB / 0.5255 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.2706, allocations: 99.88 kB / 0.5256 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005153/0.2757, allocations: 5.217 MB / 0.5307 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.276, allocations: 20.03 kB / 0.5307 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.2761, allocations: 19.98 kB / 0.5307 GB, free: 10.36 MB / 398.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.0002616/0.2763, allocations: 161.8 kB / 0.5309 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2764, allocations: 39.83 kB / 0.5309 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.2766, allocations: 50.17 kB / 0.5309 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.2766, allocations: 11.94 kB / 0.531 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.2766, allocations: 4 kB / 0.531 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2766, allocations: 7.969 kB / 0.531 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.2788, allocations: 1.315 MB / 0.5322 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.2788, allocations: 4 kB / 0.5323 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.2793, allocations: 100.2 kB / 0.5323 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000322/0.2796, allocations: 106.4 kB / 0.5324 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.2797, allocations: 12 kB / 0.5325 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004043/0.2837, allocations: 4.416 MB / 0.5368 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.2837, allocations: 7.984 kB / 0.5368 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.2853, allocations: 0.9272 MB / 0.5377 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2854, allocations: 112.9 kB / 0.5378 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.2854, allocations: 16 kB / 0.5378 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.2857, allocations: 16 kB / 0.5378 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.2858, allocations: 43.88 kB / 0.5379 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.2859, allocations: 19.98 kB / 0.5379 GB, free: 2.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.2861, allocations: 174 kB / 0.538 GB, free: 2.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2861, allocations: 0 / 0.538 GB, free: 2.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007636/0.2868, allocations: 120 kB / 0.5382 GB, free: 2.145 MB / 398.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.001909/0.2887, allocations: 1.478 MB / 0.5396 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.2903, allocations: 0.7583 MB / 0.5403 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2903, allocations: 0 / 0.5403 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009344/0.2912, allocations: 0.5626 MB / 0.5409 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.292, allocations: 58.28 kB / 0.541 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006621/0.2986, allocations: 4.147 MB / 0.545 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.2992, allocations: 0.8201 MB / 0.5458 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.2994, allocations: 35.27 kB / 0.5458 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.2995, allocations: 127.4 kB / 0.546 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2996, allocations: 0 / 0.546 GB, free: 9.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03927/0.3388, allocations: 8.413 MB / 0.5542 GB, free: 1.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.97, allocations: 16.73 kB / 0.5542 GB, free: 1.379 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.139083405956626]