Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001544/0.001544, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001704/0.001704, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9882/0.9882, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2898/0.2898, allocations: 34.26 MB / 296.1 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.886e-05, allocations: 2.312 kB / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008023/0.008051, allocations: 5.5 MB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004081/0.01213, allocations: 2.36 MB / 333.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008213/0.01295, allocations: 63.5 kB / 333.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.01341, allocations: 225.9 kB / 333.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004827/0.0139, allocations: 190.1 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.01492, allocations: 482.7 kB / 334 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009605/0.01588, allocations: 1.142 MB / 335.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.01638, allocations: 413.9 kB / 335.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000618/0.017, allocations: 0.573 MB / 336.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.01732, allocations: 291.1 kB / 336.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.64e-05/0.0174, allocations: 96 kB / 336.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.01761, allocations: 155.9 kB / 336.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.01789, allocations: 219.2 kB / 336.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.0181, allocations: 311.2 kB / 337.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.01881, allocations: 0.7509 MB / 337.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.01881, allocations: 0 / 337.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.01881, allocations: 4 kB / 337.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.01883, allocations: 4 kB / 337.9 MB, free: 10.9 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.0009461/0.01978, allocations: 1.054 MB / 339 MB, free: 9.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.01981, allocations: 8.031 kB / 339 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.02002, allocations: 144.8 kB / 339.1 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.02054, allocations: 474.9 kB / 339.6 MB, free: 9.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.02058, allocations: 74.12 kB / 339.7 MB, free: 9.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.02066, allocations: 95.94 kB / 339.8 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.02128, allocations: 0.6758 MB / 340.4 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.02131, allocations: 11.94 kB / 340.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.02135, allocations: 36 kB / 340.5 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.02136, allocations: 24 kB / 340.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.02167, allocations: 248.4 kB / 340.8 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.0236, allocations: 2.852 MB / 343.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.02389, allocations: 139.2 kB / 343.7 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.02394, allocations: 52.81 kB / 343.8 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.02401, allocations: 19.98 kB / 343.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.02403, allocations: 38.56 kB / 343.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.585e-06/0.02404, allocations: 0 / 343.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001304/0.02534, allocations: 0.8014 MB / 344.7 MB, free: 3.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.02537, allocations: 59.34 kB / 344.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.02558, allocations: 399 kB / 345.1 MB, free: 3.383 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.02559, allocations: 33.7 kB / 345.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.02575, allocations: 424.5 kB / 345.6 MB, free: 2.918 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.02582, allocations: 146.8 kB / 345.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.02589, allocations: 102.2 kB / 345.8 MB, free: 2.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.02599, allocations: 362.7 kB / 346.2 MB, free: 2.305 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/0.02604, allocations: 45.28 kB / 346.2 MB, free: 2.262 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.02617, allocations: 251.1 kB / 346.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.0264, allocations: 347.3 kB / 346.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0264, allocations: 8 kB / 346.8 MB, free: 1.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003109/0.02671, allocations: 330.1 kB / 347.1 MB, free: 1.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.02673, allocations: 8 kB / 347.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.02674, allocations: 7.984 kB / 347.1 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.02687, allocations: 36.84 kB / 347.2 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.02709, allocations: 123.8 kB / 347.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002505/0.02734, allocations: 0.5405 MB / 347.8 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.02745, allocations: 19.98 kB / 347.8 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.02748, allocations: 20.28 kB / 347.9 MB, free: 392 kB / 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.000143/0.02762, allocations: 148.5 kB / 348 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.02766, allocations: 39.95 kB / 348 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.02792, allocations: 213.1 kB / 348.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.02793, allocations: 7.938 kB / 348.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.02793, allocations: 0 / 348.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.02793, allocations: 0 / 348.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006715/0.0286, allocations: 0.5945 MB / 348.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02861, allocations: 0 / 348.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.0288, allocations: 75.91 kB / 348.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.014e-05/0.02889, allocations: 24.84 kB / 349 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.0289, allocations: 11.98 kB / 349 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001898/0.02909, allocations: 0.5289 MB / 349.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.0291, allocations: 7.938 kB / 349.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.02939, allocations: 374.2 kB / 349.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.02943, allocations: 39.67 kB / 349.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.02946, allocations: 8 kB / 349.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.02954, allocations: 19.88 kB / 349.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.02958, allocations: 28.03 kB / 350 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.02959, allocations: 11.98 kB / 350 MB, free: 14.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.0297, allocations: 156.7 kB / 350.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0297, allocations: 0 / 350.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.03004, allocations: 127.9 kB / 350.3 MB, free: 13.86 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.0001412/0.03018, allocations: 103.7 kB / 350.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.03047, allocations: 231.2 kB / 350.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.03047, allocations: 8 kB / 350.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.809e-05/0.03057, allocations: 105.9 kB / 350.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.03087, allocations: 82.97 kB / 350.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.03272, allocations: 1.296 MB / 352.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.03283, allocations: 161.7 kB / 352.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.03296, allocations: 58.19 kB / 352.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.0331, allocations: 131.3 kB / 352.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.03311, allocations: 3.938 kB / 352.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of Templates: time 0.008363/0.04147, allocations: 4.299 MB / 356.7 MB, free: 7.414 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.046621178276837]