Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.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.001466/0.001466, allocations: 91.5 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001565/0.001565, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.9605/0.9605, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.2526/0.2526, allocations: 34.86 MB / 296.3 MB, free: 496 kB / 266.7 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: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 378.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.421e-05, allocations: 3.016 kB / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005022/0.005046, allocations: 5.599 MB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.008552, allocations: 2.305 MB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008752/0.009427, allocations: 55.5 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.009939, allocations: 230 kB / 386.9 MB, free: 9.879 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.01041, allocations: 186.1 kB / 387.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000931/0.01135, allocations: 482.7 kB / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008926/0.01224, allocations: 1.141 MB / 388.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.01273, allocations: 402 kB / 389.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.01331, allocations: 0.5692 MB / 389.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.01361, allocations: 279.1 kB / 390 MB, free: 6.812 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.0137, allocations: 96 kB / 390 MB, free: 6.719 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.01391, allocations: 167.8 kB / 390.2 MB, free: 6.555 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.01405, allocations: 223.2 kB / 390.4 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.01426, allocations: 307.2 kB / 390.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007143/0.01498, allocations: 0.7471 MB / 391.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01498, allocations: 0 / 391.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01498, allocations: 4 kB / 391.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.01499, allocations: 0 / 391.5 MB, free: 5.281 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001061/0.01606, allocations: 1.177 MB / 392.7 MB, free: 4.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.01609, allocations: 8.031 kB / 392.7 MB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.01634, allocations: 188.3 kB / 392.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.01695, allocations: 0.5641 MB / 393.4 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.017, allocations: 78.06 kB / 393.5 MB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/0.01709, allocations: 88 kB / 393.6 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/0.01797, allocations: 0.7483 MB / 394.3 MB, free: 2.285 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.018, allocations: 15.88 kB / 394.3 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.01805, allocations: 36 kB / 394.4 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.01807, allocations: 24 kB / 394.4 MB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005298/0.0186, allocations: 319.5 kB / 394.7 MB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.0212, allocations: 4.059 MB / 398.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.02158, allocations: 163.7 kB / 398.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.02167, allocations: 67.64 kB / 399 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-05/0.02177, allocations: 23.98 kB / 399 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.02179, allocations: 37.33 kB / 399.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.325e-06/0.02179, allocations: 4 kB / 399.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001539/0.02333, allocations: 1.006 MB / 400.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.02337, allocations: 55.41 kB / 400.1 MB, free: 12.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.02371, allocations: 446.5 kB / 400.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.02373, allocations: 33.64 kB / 400.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.02396, allocations: 0.5139 MB / 401.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.02403, allocations: 142.8 kB / 401.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-05/0.02413, allocations: 107.9 kB / 401.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.02428, allocations: 0.5352 MB / 401.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.02437, allocations: 65.27 kB / 401.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.02459, allocations: 330.4 kB / 402.3 MB, free: 9.902 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.02494, allocations: 446.8 kB / 402.7 MB, free: 9.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02494, allocations: 0 / 402.7 MB, free: 9.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004883/0.02543, allocations: 459.8 kB / 403.2 MB, free: 8.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.02545, allocations: 8 kB / 403.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.02546, allocations: 8.844 kB / 403.2 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.02563, allocations: 35.66 kB / 403.2 MB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.02588, allocations: 123.8 kB / 403.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003485/0.02622, allocations: 0.8155 MB / 404.1 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.02634, allocations: 16 kB / 404.2 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.02638, allocations: 31.98 kB / 404.2 MB, free: 7.816 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.02653, allocations: 188.4 kB / 404.4 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.02658, allocations: 63.67 kB / 404.4 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.02693, allocations: 269.8 kB / 404.7 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.02694, allocations: 4 kB / 404.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02694, allocations: 0 / 404.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.02694, allocations: 0 / 404.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008823/0.02783, allocations: 0.8754 MB / 405.6 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.02783, allocations: 4 kB / 405.6 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.02804, allocations: 83.89 kB / 405.7 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.843e-05/0.02813, allocations: 27.83 kB / 405.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.02815, allocations: 16 kB / 405.7 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002694/0.02842, allocations: 0.8077 MB / 406.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02842, allocations: 0 / 406.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.02884, allocations: 0.5146 MB / 407 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.02888, allocations: 47.61 kB / 407.1 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.02891, allocations: 8 kB / 407.1 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.02899, allocations: 11.98 kB / 407.1 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.02904, allocations: 23.91 kB / 407.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.02906, allocations: 23.95 kB / 407.1 MB, free: 4.688 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.02924, allocations: 283 kB / 407.4 MB, free: 4.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02924, allocations: 0 / 407.4 MB, free: 4.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004061/0.02964, allocations: 124 kB / 407.5 MB, free: 4.297 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001451/0.02979, allocations: 115.1 kB / 407.7 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.03016, allocations: 262.5 kB / 407.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.03017, allocations: 0 / 407.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.0303, allocations: 123.5 kB / 408 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.03066, allocations: 87.22 kB / 408.1 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.03252, allocations: 1.452 MB / 409.6 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.03262, allocations: 157.7 kB / 409.7 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.03274, allocations: 60.53 kB / 409.8 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.0328, allocations: 44.48 kB / 409.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.03281, allocations: 0 / 409.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of Templates: time 0.007196/0.04, allocations: 3.949 MB / 413.8 MB, free: 14.04 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1594499880447984]