Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.001388/0.001388, allocations: 120.2 kB / 17.83 MB, free: 5.242 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.001532/0.001532, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.46/1.46, allocations: 207.6 MB / 231.2 MB, free: 4.102 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.3576/0.3576, allocations: 44.23 MB / 327.3 MB, free: 6.711 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.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2",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.002298/0.002298, allocations: 67.91 kB / 462.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2518, allocations: 61.01 MB / 0.5116 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003383/0.2552, allocations: 2.846 MB / 0.5144 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2563, allocations: 0.7464 MB / 0.5151 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.2567, allocations: 11.03 kB / 0.5152 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.2569, allocations: 56.78 kB / 0.5152 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.2572, allocations: 129.9 kB / 0.5153 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.2574, allocations: 94.88 kB / 0.5154 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.2579, allocations: 429.8 kB / 0.5158 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.2581, allocations: 103.4 kB / 0.5159 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.2583, allocations: 183.5 kB / 0.5161 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.2586, allocations: 179.5 kB / 0.5163 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.2586, allocations: 31.62 kB / 0.5163 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.2587, allocations: 33 kB / 0.5163 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.2588, allocations: 74.7 kB / 0.5164 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.2589, allocations: 199.8 kB / 0.5166 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.2593, allocations: 433.7 kB / 0.517 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2593, allocations: 1.375 kB / 0.517 GB, free: 9.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2593, allocations: 0 / 0.517 GB, free: 9.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.2593, allocations: 0 / 0.517 GB, free: 9.102 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008513/0.2602, allocations: 0.6552 MB / 0.5177 GB, free: 8.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2602, allocations: 13.05 kB / 0.5177 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.328e-05/0.2603, allocations: 10.41 kB / 0.5177 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.2603, allocations: 74.44 kB / 0.5177 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.2604, allocations: 42.3 kB / 0.5178 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.2607, allocations: 283.8 kB / 0.5181 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2607, allocations: 28.81 kB / 0.5181 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.2608, allocations: 45.55 kB / 0.5181 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.2613, allocations: 394.8 kB / 0.5185 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2613, allocations: 11.89 kB / 0.5185 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.2613, allocations: 16 kB / 0.5185 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2613, allocations: 8 kB / 0.5185 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.2617, allocations: 215.7 kB / 0.5187 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.2633, allocations: 1.727 MB / 0.5204 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.2637, allocations: 250.4 kB / 0.5207 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2638, allocations: 94 kB / 0.5208 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2638, allocations: 12 kB / 0.5208 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.2638, allocations: 42.5 kB / 0.5208 GB, free: 5.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.2638, allocations: 3.938 kB / 0.5208 GB, free: 5.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0005917/0.2644, allocations: 265.8 kB / 0.5211 GB, free: 4.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.2645, allocations: 213.6 kB / 0.5213 GB, free: 4.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.2646, allocations: 270.9 kB / 0.5215 GB, free: 4.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2646, allocations: 33.7 kB / 0.5216 GB, free: 4.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.2647, allocations: 243.9 kB / 0.5218 GB, free: 4.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.2648, allocations: 127.3 kB / 0.5219 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.2649, allocations: 98.3 kB / 0.522 GB, free: 3.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.2649, allocations: 346.7 kB / 0.5223 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2651, allocations: 97.27 kB / 0.5224 GB, free: 3.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.2653, allocations: 432.8 kB / 0.5228 GB, free: 2.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.2658, allocations: 0.5705 MB / 0.5234 GB, free: 2.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2658, allocations: 8.062 kB / 0.5234 GB, free: 2.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006559/0.2664, allocations: 0.5243 MB / 0.5239 GB, free: 1.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2664, allocations: 8 kB / 0.5239 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2665, allocations: 12.88 kB / 0.5239 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.2665, allocations: 16 kB / 0.524 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.2669, allocations: 151.8 kB / 0.5241 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.2669, allocations: 23.86 kB / 0.5241 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.2671, allocations: 71.52 kB / 0.5242 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.2672, allocations: 39.92 kB / 0.5242 GB, free: 1.309 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.2673, allocations: 177.5 kB / 0.5244 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.2674, allocations: 31.81 kB / 0.5244 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.2675, allocations: 33.78 kB / 0.5245 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2675, allocations: 8 kB / 0.5245 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2675, allocations: 4 kB / 0.5245 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2675, allocations: 0 / 0.5245 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.2685, allocations: 0.6515 MB / 0.5251 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2685, allocations: 4 kB / 0.5251 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.2689, allocations: 79.95 kB / 0.5252 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2689, allocations: 8.062 kB / 0.5252 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.269, allocations: 23.86 kB / 0.5252 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.269, allocations: 4 kB / 0.5252 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.269, allocations: 0 / 0.5252 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.2697, allocations: 0.8344 MB / 0.526 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.2698, allocations: 104.9 kB / 0.5261 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.2698, allocations: 15.88 kB / 0.5262 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.2702, allocations: 19.98 kB / 0.5262 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.2703, allocations: 16.3 kB / 0.5262 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.2703, allocations: 15.98 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.2705, allocations: 186 kB / 0.5264 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2705, allocations: 0 / 0.5264 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000714/0.2712, allocations: 103.8 kB / 0.5265 GB, free: 14.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.2724, allocations: 1.388 MB / 0.5278 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.2731, allocations: 278.3 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2731, allocations: 0 / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.2733, allocations: 88.2 kB / 0.5282 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.2746, allocations: 76.72 kB / 0.5283 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006656/0.2813, allocations: 4.932 MB / 0.5331 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.2817, allocations: 0.7988 MB / 0.5339 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.2819, allocations: 43.27 kB / 0.5339 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.282, allocations: 119.4 kB / 0.534 GB, free: 6.68 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.282, allocations: 0 / 0.534 GB, free: 6.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.3069, allocations: 6.703 MB / 0.5406 GB, free: 15.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.399/9.706, allocations: 6.172 kB / 0.5406 GB, free: 15.97 MB / 414.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions2.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions2/Directions2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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: 12.834202540980186]