Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.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.001136/0.001136, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005479/0.006615, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001083/0.001083, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004883/0.005966, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8929/0.8929, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1402/1.033, allocations: 49.49 MB / 220.6 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.Rotational.Examples.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="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.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="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.42e-07/8.42e-07, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.692e-06/7.534e-06, allocations: 6.312 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.004006/0.004013, allocations: 5.237 MB / 227.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.005884, allocations: 2.141 MB / 229.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.006119, allocations: 51.62 kB / 229.3 MB, free: 8.695 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.006361, allocations: 214.1 kB / 229.5 MB, free: 8.484 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.006554, allocations: 178.3 kB / 229.6 MB, free: 8.309 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.006961, allocations: 398.9 kB / 230 MB, free: 7.918 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005719/0.007533, allocations: 1.028 MB / 231.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.00794, allocations: 405.6 kB / 231.5 MB, free: 6.465 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.008501, allocations: 0.5457 MB / 232 MB, free: 5.918 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.00882, allocations: 271.2 kB / 232.3 MB, free: 5.652 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.008924, allocations: 96 kB / 232.4 MB, free: 5.559 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.009151, allocations: 151.8 kB / 232.5 MB, free: 5.41 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.009298, allocations: 167.5 kB / 232.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.00956, allocations: 247.5 kB / 232.9 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004663/0.01003, allocations: 0.6304 MB / 233.5 MB, free: 4.371 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.01003, allocations: 0 / 233.5 MB, free: 4.371 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01004, allocations: 0 / 233.5 MB, free: 4.371 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.01005, allocations: 0 / 233.5 MB, free: 4.371 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00082/0.01087, allocations: 1.123 MB / 234.7 MB, free: 3.219 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.514e-05/0.01089, allocations: 12.03 kB / 234.7 MB, free: 3.207 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/0.01099, allocations: 128.8 kB / 234.8 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.01135, allocations: 381 kB / 235.2 MB, free: 2.684 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.01139, allocations: 66.38 kB / 235.2 MB, free: 2.621 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.01145, allocations: 92.34 kB / 235.3 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.01201, allocations: 0.666 MB / 236 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.01203, allocations: 16.06 kB / 236 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.01206, allocations: 36.36 kB / 236.1 MB, free: 1.754 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.01207, allocations: 23.94 kB / 236.1 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.01234, allocations: 220.6 kB / 236.3 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.01384, allocations: 2.163 MB / 238.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.01407, allocations: 147.2 kB / 238.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.01412, allocations: 44.84 kB / 238.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.628e-05/0.01417, allocations: 23.98 kB / 238.7 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.01419, allocations: 42.5 kB / 238.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=30): time 1.283e-06/0.01419, allocations: 0 / 238.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009564/0.01515, allocations: 0.7988 MB / 239.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.01517, allocations: 59.34 kB / 239.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01532, allocations: 294.8 kB / 239.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.01533, allocations: 33.7 kB / 239.9 MB, free: 13.72 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.01546, allocations: 380.3 kB / 240.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.01552, allocations: 142.8 kB / 240.4 MB, free: 13.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.01559, allocations: 90.12 kB / 240.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.01568, allocations: 358.7 kB / 240.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.01572, allocations: 40.92 kB / 240.9 MB, free: 12.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.01585, allocations: 185.8 kB / 241.1 MB, free: 12.46 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.01611, allocations: 280.6 kB / 241.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01612, allocations: 3.984 kB / 241.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000252/0.01637, allocations: 281.9 kB / 241.6 MB, free: 11.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.01638, allocations: 8 kB / 241.6 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.01639, allocations: 7.984 kB / 241.6 MB, free: 11.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.812e-05/0.01648, allocations: 28.84 kB / 241.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.01671, allocations: 131.8 kB / 241.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002068/0.01692, allocations: 0.5366 MB / 242.3 MB, free: 11.1 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/0.017, allocations: 20.38 kB / 242.3 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.01702, allocations: 16 kB / 242.4 MB, free: 11.06 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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.0001029/0.01712, allocations: 148.5 kB / 242.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.01716, allocations: 31.97 kB / 242.5 MB, free: 10.88 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.01736, allocations: 196.9 kB / 242.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01736, allocations: 7.938 kB / 242.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01737, allocations: 0 / 242.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01737, allocations: 3.984 kB / 242.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.01789, allocations: 0.5706 MB / 243.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.0179, allocations: 0 / 243.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.0181, allocations: 105.8 kB / 243.4 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.01812, allocations: 27.77 kB / 243.4 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/0.01819, allocations: 36.77 kB / 243.5 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.0182, allocations: 8 kB / 243.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000178/0.01838, allocations: 0.5291 MB / 244 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01838, allocations: 0 / 244 MB, free: 9.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.01865, allocations: 390.3 kB / 244.4 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01867, allocations: 11.98 kB / 244.4 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.01874, allocations: 15.94 kB / 244.4 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.01877, allocations: 27.89 kB / 244.4 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.01878, allocations: 12 kB / 244.5 MB, free: 8.836 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.693e-05/0.01885, allocations: 100.6 kB / 244.6 MB, free: 8.738 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01885, allocations: 4 kB / 244.6 MB, free: 8.734 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01908, allocations: 124 kB / 244.7 MB, free: 8.613 MB / 250.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.phi,inertia2b.w,torqueToAngle2b.phi,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.0001093/0.01919, allocations: 96.34 kB / 244.8 MB, free: 8.512 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.01942, allocations: 202.5 kB / 245 MB, free: 8.312 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.01943, allocations: 4.312 kB / 245 MB, free: 8.309 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.01953, allocations: 104.6 kB / 245.1 MB, free: 8.203 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.01976, allocations: 100.2 kB / 245.2 MB, free: 8.109 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.02459, allocations: 1.365 MB / 246.5 MB, free: 6.691 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.891e-05/0.02469, allocations: 173.6 kB / 246.7 MB, free: 6.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.132e-05/0.02478, allocations: 45.52 kB / 246.8 MB, free: 6.457 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.02489, allocations: 119.3 kB / 246.9 MB, free: 6.34 MB / 250.7 MB Notification: Performance of SimCode: time 4.1e-07/0.02489, allocations: 0 / 246.9 MB, free: 6.34 MB / 250.7 MB Notification: Performance of Templates: time 0.006925/0.03181, allocations: 4.172 MB / 251 MB, free: 2.191 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/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.538710666820407]