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.001015/0.001015, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001252/0.001252, allocations: 168.1 kB / 24.82 MB, free: 9.277 MB / 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.089/1.089, allocations: 177 MB / 205.1 MB, free: 5.469 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.3294/0.3294, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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 2.355e-06/2.355e-06, allocations: 0 / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.801e-05/4.037e-05, allocations: 7.234 kB / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007024/0.007064, allocations: 5.496 MB / 384.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.01049, allocations: 2.27 MB / 387 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005965/0.01109, allocations: 51.56 kB / 387 MB, free: 10 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.01149, allocations: 237.9 kB / 387.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.01184, allocations: 194.1 kB / 387.4 MB, free: 9.574 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009336/0.01277, allocations: 478.7 kB / 387.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007717/0.01354, allocations: 1.137 MB / 389 MB, free: 7.961 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.01398, allocations: 406 kB / 389.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00051/0.01449, allocations: 0.5691 MB / 390 MB, free: 6.969 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.01476, allocations: 283.1 kB / 390.3 MB, free: 6.691 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.423e-05/0.01484, allocations: 96 kB / 390.4 MB, free: 6.598 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.01506, allocations: 167.8 kB / 390.5 MB, free: 6.434 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.0152, allocations: 223.2 kB / 390.8 MB, free: 6.215 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.01539, allocations: 307.3 kB / 391.1 MB, free: 5.914 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.01609, allocations: 0.7471 MB / 391.8 MB, free: 5.164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.01609, allocations: 4 kB / 391.8 MB, free: 5.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01609, allocations: 0 / 391.8 MB, free: 5.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.0161, allocations: 0 / 391.8 MB, free: 5.16 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.001032/0.01713, allocations: 1.185 MB / 393 MB, free: 3.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.01718, allocations: 12.03 kB / 393 MB, free: 3.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.01743, allocations: 188.3 kB / 393.2 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.01798, allocations: 0.5564 MB / 393.7 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.01803, allocations: 70.12 kB / 393.8 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.01811, allocations: 95.98 kB / 393.9 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.01879, allocations: 0.7012 MB / 394.6 MB, free: 2.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.01882, allocations: 15.88 kB / 394.6 MB, free: 2.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.01886, allocations: 36 kB / 394.7 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.01887, allocations: 24 kB / 394.7 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.01919, allocations: 257.5 kB / 394.9 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.0218, allocations: 3.958 MB / 398.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.0221, allocations: 155.7 kB / 399 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.02216, allocations: 67.56 kB / 399.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.169e-05/0.02224, allocations: 19.98 kB / 399.1 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.02226, allocations: 45.33 kB / 399.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/0.02227, allocations: 3.938 kB / 399.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001251/0.02352, allocations: 0.8589 MB / 400 MB, free: 12.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.02355, allocations: 55.41 kB / 400.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.0238, allocations: 446.2 kB / 400.5 MB, free: 12.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.02382, allocations: 37.69 kB / 400.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.02404, allocations: 0.5138 MB / 401.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.02411, allocations: 146.8 kB / 401.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.0242, allocations: 99.92 kB / 401.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.02435, allocations: 0.5428 MB / 401.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.02441, allocations: 49.27 kB / 401.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.02469, allocations: 322.3 kB / 402.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.02496, allocations: 422.8 kB / 402.6 MB, free: 9.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02496, allocations: 4 kB / 402.6 MB, free: 9.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003712/0.02533, allocations: 420.7 kB / 403.1 MB, free: 9.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.02535, allocations: 11.98 kB / 403.1 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.02536, allocations: 8.062 kB / 403.1 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.02548, allocations: 39.61 kB / 403.1 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.02569, allocations: 119.8 kB / 403.2 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003189/0.02601, allocations: 0.8116 MB / 404 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.02612, allocations: 19.98 kB / 404.1 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.02615, allocations: 24 kB / 404.1 MB, free: 8.137 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.0001529/0.0263, allocations: 188.4 kB / 404.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.02636, allocations: 55.72 kB / 404.3 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.02669, allocations: 261.7 kB / 404.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.02669, allocations: 7.938 kB / 404.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.0267, allocations: 0 / 404.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.0267, allocations: 0 / 404.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.02746, allocations: 0.7627 MB / 405.3 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02746, allocations: 0 / 405.3 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.02766, allocations: 88.05 kB / 405.4 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.068e-05/0.02774, allocations: 23.67 kB / 405.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.02776, allocations: 12 kB / 405.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002739/0.02803, allocations: 0.8038 MB / 406.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.02803, allocations: 3.938 kB / 406.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.02841, allocations: 0.4912 MB / 406.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.02846, allocations: 47.59 kB / 406.8 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.02848, allocations: 11.94 kB / 406.8 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.02856, allocations: 12.03 kB / 406.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.0286, allocations: 28.05 kB / 406.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.02862, allocations: 19.97 kB / 406.9 MB, free: 5.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.02875, allocations: 263 kB / 407.1 MB, free: 4.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02875, allocations: 0 / 407.1 MB, free: 4.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.02908, allocations: 128 kB / 407.3 MB, free: 4.793 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.0001574/0.02924, allocations: 115.1 kB / 407.4 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003004/0.02954, allocations: 241.7 kB / 407.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02954, allocations: 0 / 407.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.02965, allocations: 113.3 kB / 407.7 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.03001, allocations: 85.67 kB / 407.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.03206, allocations: 1.437 MB / 409.2 MB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.03217, allocations: 161.7 kB / 409.4 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.03229, allocations: 56.53 kB / 409.5 MB, free: 2.512 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.03246, allocations: 158.2 kB / 409.6 MB, free: 2.355 MB / 378.7 MB Notification: Performance of SimCode: time 9.11e-07/0.03246, allocations: 0 / 409.6 MB, free: 2.355 MB / 378.7 MB Notification: Performance of Templates: time 0.00817/0.04063, allocations: 4.325 MB / 413.9 MB, free: 14.12 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.2956100152805448]