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.001436/0.001436, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001718/0.001718, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.015/1.015, allocations: 177 MB / 205.2 MB, free: 5.039 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.2667/0.2667, allocations: 34.86 MB / 296.6 MB, free: 464 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.312e-06/1.312e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.237e-05, allocations: 3.859 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005027/0.005049, allocations: 5.543 MB / 331.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.008491, allocations: 2.368 MB / 333.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.009017, allocations: 55.56 kB / 333.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.009403, allocations: 221.9 kB / 334.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.009721, allocations: 202 kB / 334.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.01049, allocations: 478.7 kB / 334.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007775/0.01127, allocations: 1.135 MB / 335.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.01171, allocations: 413.9 kB / 336.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.01227, allocations: 0.5691 MB / 336.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.01263, allocations: 291.1 kB / 337.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.01271, allocations: 96 kB / 337.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.01293, allocations: 163.8 kB / 337.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.01306, allocations: 227.2 kB / 337.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.01326, allocations: 303.3 kB / 337.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.01392, allocations: 0.751 MB / 338.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01392, allocations: 0 / 338.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01392, allocations: 0 / 338.7 MB, free: 10.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.01394, allocations: 0 / 338.7 MB, free: 10.3 MB / 314.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.0008926/0.01483, allocations: 1.058 MB / 339.7 MB, free: 9.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.01487, allocations: 12.03 kB / 339.8 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.01508, allocations: 148.8 kB / 339.9 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005028/0.01559, allocations: 475 kB / 340.4 MB, free: 8.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.01563, allocations: 70.12 kB / 340.4 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.01571, allocations: 103.9 kB / 340.5 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.01631, allocations: 0.6676 MB / 341.2 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.01634, allocations: 19.86 kB / 341.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.01638, allocations: 36 kB / 341.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.01639, allocations: 24 kB / 341.3 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.0167, allocations: 248.4 kB / 341.5 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.01876, allocations: 2.844 MB / 344.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.01904, allocations: 143.2 kB / 344.5 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.0191, allocations: 52.83 kB / 344.6 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.834e-05/0.01917, allocations: 23.98 kB / 344.6 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.01919, allocations: 34.56 kB / 344.6 MB, free: 4.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.01919, allocations: 3.938 kB / 344.6 MB, free: 4.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001271/0.02046, allocations: 0.808 MB / 345.4 MB, free: 3.227 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.02049, allocations: 55.41 kB / 345.5 MB, free: 3.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.02071, allocations: 391 kB / 345.9 MB, free: 2.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.02073, allocations: 33.7 kB / 345.9 MB, free: 2.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.02089, allocations: 428.5 kB / 346.3 MB, free: 2.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/0.02096, allocations: 142.8 kB / 346.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.02104, allocations: 98.25 kB / 346.6 MB, free: 2.059 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.02124, allocations: 366.7 kB / 346.9 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.02129, allocations: 41.3 kB / 347 MB, free: 1.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.02142, allocations: 247.1 kB / 347.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.02166, allocations: 351.5 kB / 347.5 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.02167, allocations: 4 kB / 347.5 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000335/0.022, allocations: 325.9 kB / 347.9 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.02202, allocations: 8 kB / 347.9 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.02203, allocations: 8 kB / 347.9 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.02217, allocations: 36.78 kB / 347.9 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.02245, allocations: 146.5 kB / 348.1 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002919/0.02274, allocations: 0.5449 MB / 348.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.02284, allocations: 16 kB / 348.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.02287, allocations: 20 kB / 348.6 MB, free: 15.76 MB / 330.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.0001303/0.023, allocations: 152.5 kB / 348.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.02304, allocations: 35.97 kB / 348.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.02328, allocations: 207.5 kB / 349 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.02328, allocations: 4 kB / 349 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.02328, allocations: 4.031 kB / 349 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.02329, allocations: 3.984 kB / 349 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.0239, allocations: 0.5882 MB / 349.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.02391, allocations: 4 kB / 349.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.02413, allocations: 91.88 kB / 349.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-05/0.02421, allocations: 20.84 kB / 349.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.02422, allocations: 12 kB / 349.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004726/0.0247, allocations: 0.5407 MB / 350.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.0247, allocations: 0 / 350.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.02501, allocations: 378 kB / 350.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.02505, allocations: 51.66 kB / 350.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.02508, allocations: 8 kB / 350.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.02515, allocations: 8 kB / 350.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.0252, allocations: 23.95 kB / 350.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.02521, allocations: 8 kB / 350.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.02532, allocations: 160.7 kB / 350.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02532, allocations: 3.938 kB / 350.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.02565, allocations: 131.9 kB / 351 MB, free: 13.23 MB / 330.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.0001448/0.0258, allocations: 89.48 kB / 351.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.02608, allocations: 247.7 kB / 351.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.02609, allocations: 8 kB / 351.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.02619, allocations: 100.8 kB / 351.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.02648, allocations: 83.89 kB / 351.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.02801, allocations: 1.303 MB / 352.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.812e-05/0.02811, allocations: 157.7 kB / 353 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.02823, allocations: 60.58 kB / 353.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.02837, allocations: 127.3 kB / 353.2 MB, free: 11 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.02837, allocations: 0 / 353.2 MB, free: 11 MB / 330.7 MB Notification: Performance of Templates: time 0.00851/0.03688, allocations: 4.468 MB / 357.7 MB, free: 6.641 MB / 330.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 -s gbode -gbm=radauIIA3 -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: 2.988168295007199]