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.002715/0.002715, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.003419/0.003419, allocations: 156.8 kB / 24.27 MB, free: 156 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 1.608/1.608, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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.3446/0.3446, allocations: 34.25 MB / 295.2 MB, free: 0.6289 MB / 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.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.843e-05, allocations: 6.25 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008839/0.008867, allocations: 5.544 MB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.01448, allocations: 2.294 MB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006724/0.01516, allocations: 55.56 kB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.01574, allocations: 233.9 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.01621, allocations: 190.1 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.01737, allocations: 478.7 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.01877, allocations: 1.137 MB / 387.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007219/0.01949, allocations: 394 kB / 387.5 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008466/0.02034, allocations: 0.5691 MB / 388.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004703/0.02081, allocations: 291.1 kB / 388.3 MB, free: 7.703 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.02095, allocations: 92 kB / 388.4 MB, free: 7.613 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.02126, allocations: 155.9 kB / 388.6 MB, free: 7.461 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.02152, allocations: 231.2 kB / 388.8 MB, free: 7.234 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.02191, allocations: 299.3 kB / 389.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.02358, allocations: 1.304 MB / 390.4 MB, free: 5.633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.02359, allocations: 0 / 390.4 MB, free: 5.633 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.02359, allocations: 0 / 390.4 MB, free: 5.633 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.0236, allocations: 4 kB / 390.4 MB, free: 5.629 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.002287/0.02589, allocations: 1.251 MB / 391.7 MB, free: 4.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.02593, allocations: 8.031 kB / 391.7 MB, free: 4.328 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.02633, allocations: 180.3 kB / 391.8 MB, free: 4.152 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.02736, allocations: 0.5758 MB / 392.4 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.02743, allocations: 70.12 kB / 392.5 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.02757, allocations: 96 kB / 392.6 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.02929, allocations: 0.9467 MB / 393.5 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.02933, allocations: 7.953 kB / 393.5 MB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.02941, allocations: 40 kB / 393.6 MB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.02943, allocations: 20 kB / 393.6 MB, free: 2.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.03046, allocations: 463.5 kB / 394 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005596/0.03605, allocations: 4.446 MB / 398.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/0.03676, allocations: 219.7 kB / 398.7 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.03697, allocations: 87.66 kB / 398.8 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.03714, allocations: 23.98 kB / 398.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.0372, allocations: 37.33 kB / 398.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.326e-06/0.0372, allocations: 0 / 398.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.003045/0.04024, allocations: 1.194 MB / 400 MB, free: 11.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.04031, allocations: 55.41 kB / 400.1 MB, free: 11.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/0.04103, allocations: 0.5415 MB / 400.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.04106, allocations: 29.7 kB / 400.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/0.04157, allocations: 0.5451 MB / 401.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.04171, allocations: 142.9 kB / 401.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.04189, allocations: 124 kB / 401.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003842/0.04228, allocations: 0.5625 MB / 402 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.04251, allocations: 113.2 kB / 402.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.04301, allocations: 398.4 kB / 402.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.04378, allocations: 0.5455 MB / 403.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.04378, allocations: 0 / 403.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009014/0.04468, allocations: 0.5277 MB / 403.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.0447, allocations: 8 kB / 403.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.04472, allocations: 8 kB / 403.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.04493, allocations: 39.67 kB / 403.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.04533, allocations: 128.3 kB / 403.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007484/0.04608, allocations: 0.8428 MB / 404.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.04627, allocations: 16 kB / 404.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.04632, allocations: 28 kB / 404.7 MB, free: 6.605 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.0006502/0.04697, allocations: 264.4 kB / 404.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.04709, allocations: 59.67 kB / 405 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006917/0.04778, allocations: 321.8 kB / 405.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.04778, allocations: 4 kB / 405.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.04779, allocations: 4.031 kB / 405.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.0478, allocations: 4 kB / 405.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.04975, allocations: 1.129 MB / 406.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.04976, allocations: 3.984 kB / 406.5 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.05013, allocations: 83.89 kB / 406.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.05026, allocations: 31.67 kB / 406.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.05029, allocations: 8 kB / 406.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006068/0.0509, allocations: 0.8275 MB / 407.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.0509, allocations: 3.938 kB / 407.4 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.05184, allocations: 0.6318 MB / 408 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/0.05192, allocations: 43.66 kB / 408.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.05198, allocations: 11.98 kB / 408.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.05212, allocations: 8 kB / 408.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.05219, allocations: 27.89 kB / 408.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.05222, allocations: 16.03 kB / 408.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003986/0.05261, allocations: 339 kB / 408.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05261, allocations: 0 / 408.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005847/0.0532, allocations: 124 kB / 408.6 MB, free: 2.52 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.0002276/0.05343, allocations: 119.1 kB / 408.7 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.0542, allocations: 362.4 kB / 409.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.0542, allocations: 0 / 409.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.05451, allocations: 155.6 kB / 409.2 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.05509, allocations: 81.83 kB / 409.3 MB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.05785, allocations: 1.506 MB / 410.8 MB, free: 240 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.05834, allocations: 368.1 kB / 411.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.05851, allocations: 52.55 kB / 411.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/0.05861, allocations: 44.48 kB / 411.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05861, allocations: 0 / 411.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of Templates: time 0.01148/0.07009, allocations: 3.938 MB / 415.2 MB, free: 11.89 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.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: 5.149512622039765]