Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.001252/0.001252, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 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.001668/0.001668, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 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 0.9838/0.9838, allocations: 158.6 MB / 186 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] 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.1492/0.1492, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 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: 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_3.2.3_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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.242e-05, allocations: 9.344 kB / 347.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.00501/0.005042, allocations: 5.564 MB / 353.2 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.008815, allocations: 2.275 MB / 355.5 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007342/0.009549, allocations: 51.56 kB / 355.5 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.009992, allocations: 233.9 kB / 355.8 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.01033, allocations: 190.1 kB / 355.9 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.01131, allocations: 474.7 kB / 356.4 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.01234, allocations: 1.133 MB / 357.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005818/0.01292, allocations: 394 kB / 357.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006824/0.01361, allocations: 0.5614 MB / 358.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.01404, allocations: 291.1 kB / 358.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.01418, allocations: 92 kB / 358.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.01442, allocations: 159.8 kB / 359 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.01458, allocations: 223.2 kB / 359.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.01486, allocations: 307.3 kB / 359.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008901/0.01575, allocations: 0.7431 MB / 360.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.01576, allocations: 7.938 kB / 360.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.01576, allocations: 0 / 360.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.01578, allocations: 0 / 360.3 MB, free: 13.08 MB / 298.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.001357/0.01714, allocations: 1.173 MB / 361.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.01719, allocations: 12.03 kB / 361.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.01738, allocations: 176.3 kB / 361.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/0.01806, allocations: 0.5564 MB / 362.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.0181, allocations: 70.12 kB / 362.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/0.01819, allocations: 95.95 kB / 362.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009173/0.01911, allocations: 0.7521 MB / 363.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.01914, allocations: 11.89 kB / 363.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.01919, allocations: 39.98 kB / 363.2 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.01921, allocations: 27.98 kB / 363.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005448/0.01975, allocations: 315.5 kB / 363.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.02262, allocations: 4.047 MB / 367.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.02303, allocations: 176.4 kB / 367.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.02312, allocations: 67.59 kB / 367.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.02323, allocations: 15.98 kB / 367.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.02326, allocations: 53.31 kB / 367.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.564e-06/0.02326, allocations: 4 kB / 367.9 MB, free: 5.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001531/0.0248, allocations: 0.997 MB / 368.9 MB, free: 4.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.02483, allocations: 55.41 kB / 368.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.02514, allocations: 446.5 kB / 369.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.02516, allocations: 29.7 kB / 369.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.0254, allocations: 0.5139 MB / 369.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/0.02548, allocations: 134.9 kB / 370 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.02557, allocations: 108 kB / 370.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.02572, allocations: 0.5352 MB / 370.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.02581, allocations: 61.27 kB / 370.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.02602, allocations: 334.4 kB / 371.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.02639, allocations: 439.6 kB / 371.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.02639, allocations: 4 kB / 371.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004925/0.02688, allocations: 455.8 kB / 371.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.0269, allocations: 8 kB / 371.9 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.02691, allocations: 8.844 kB / 371.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.02708, allocations: 43.61 kB / 372 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.02731, allocations: 127.8 kB / 372.1 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004185/0.02773, allocations: 0.8155 MB / 372.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.02787, allocations: 16 kB / 372.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.0279, allocations: 28 kB / 373 MB, free: 15.64 MB / 314.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.0001609/0.02806, allocations: 188.4 kB / 373.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.02812, allocations: 59.67 kB / 373.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.02851, allocations: 277.7 kB / 373.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.02851, allocations: 4 kB / 373.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.02851, allocations: 0 / 373.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.02852, allocations: 3.984 kB / 373.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00089/0.02941, allocations: 0.8745 MB / 374.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02941, allocations: 4 kB / 374.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.02962, allocations: 79.89 kB / 374.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.02974, allocations: 35.83 kB / 374.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.02977, allocations: 8 kB / 374.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003297/0.0301, allocations: 0.8117 MB / 375.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.0301, allocations: 4 kB / 375.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/0.03069, allocations: 0.5191 MB / 375.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.03076, allocations: 47.59 kB / 375.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.03081, allocations: 8 kB / 375.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.03097, allocations: 8 kB / 375.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.03103, allocations: 31.98 kB / 375.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.03106, allocations: 12 kB / 375.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000299/0.03136, allocations: 279 kB / 376.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03136, allocations: 3.938 kB / 376.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004268/0.03178, allocations: 127.9 kB / 376.3 MB, free: 12.11 MB / 314.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.000198/0.03198, allocations: 111.2 kB / 376.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.03243, allocations: 264.8 kB / 376.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.03243, allocations: 0 / 376.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.03258, allocations: 117 kB / 376.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.03298, allocations: 79.11 kB / 376.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.03554, allocations: 1.465 MB / 378.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.03568, allocations: 161.7 kB / 378.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.03584, allocations: 52.55 kB / 378.6 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.03593, allocations: 44.5 kB / 378.6 MB, free: 9.734 MB / 314.7 MB Notification: Performance of SimCode: time 1.773e-06/0.03593, allocations: 0 / 378.6 MB, free: 9.734 MB / 314.7 MB Notification: Performance of Templates: time 0.007831/0.04376, allocations: 3.961 MB / 382.6 MB, free: 5.832 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1843122369609773]