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.0007701/0.0007701, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001863, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007072/0.0007072, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008857/0.001593, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.023/1.023, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09804/1.121, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2669/0.2669, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02582/0.2927, allocations: 13.23 MB / 292.6 MB, free: 6.457 MB / 282.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.553e-06/1.553e-06, allocations: 0 / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.13e-05, allocations: 4.422 kB / 293.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.004985/0.005006, allocations: 5.579 MB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.008524, allocations: 2.383 MB / 301.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006702/0.009194, allocations: 55.5 kB / 301.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.009586, allocations: 233.9 kB / 302.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.01, allocations: 194 kB / 302.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.01079, allocations: 470.7 kB / 302.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008298/0.01162, allocations: 1.131 MB / 303.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.01207, allocations: 417.9 kB / 304.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005541/0.01263, allocations: 0.5847 MB / 304.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.01291, allocations: 295 kB / 305.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.01299, allocations: 96 kB / 305.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.0132, allocations: 163.8 kB / 305.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.01332, allocations: 171.4 kB / 305.6 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.0135, allocations: 259.4 kB / 305.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.01411, allocations: 0.7081 MB / 306.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.731e-05/0.01413, allocations: 4 kB / 306.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01413, allocations: 0 / 306.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.01415, allocations: 0 / 306.5 MB, free: 8.434 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.001039/0.01519, allocations: 1.249 MB / 307.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.01522, allocations: 16.84 kB / 307.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.01545, allocations: 225.9 kB / 308 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.01594, allocations: 467.1 kB / 308.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.01598, allocations: 74.12 kB / 308.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.01605, allocations: 91.94 kB / 308.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.01663, allocations: 0.6871 MB / 309.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.01666, allocations: 11.89 kB / 309.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.01669, allocations: 36 kB / 309.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.01671, allocations: 24 kB / 309.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.017, allocations: 236.5 kB / 309.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.01884, allocations: 2.867 MB / 312.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.0191, allocations: 143.2 kB / 312.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.867e-05/0.01915, allocations: 44.84 kB / 312.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.546e-05/0.01922, allocations: 27.97 kB / 312.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.01925, allocations: 34.56 kB / 312.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.01925, allocations: 0 / 312.7 MB, free: 1.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001176/0.02042, allocations: 0.8087 MB / 313.5 MB, free: 1.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.02045, allocations: 59.41 kB / 313.6 MB, free: 1 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.02066, allocations: 395 kB / 314 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.02068, allocations: 33.7 kB / 314 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.02084, allocations: 424.5 kB / 314.4 MB, free: 140 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/0.02092, allocations: 150.7 kB / 314.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.02099, allocations: 98.25 kB / 314.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.02111, allocations: 366.7 kB / 315 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.02115, allocations: 45.28 kB / 315.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.02129, allocations: 239.2 kB / 315.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.02154, allocations: 351.5 kB / 315.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.02154, allocations: 0 / 315.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003197/0.02186, allocations: 337.9 kB / 316 MB, free: 14.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.02188, allocations: 8 kB / 316 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.02189, allocations: 7.984 kB / 316 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.02201, allocations: 36.83 kB / 316 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.0223, allocations: 155.7 kB / 316.2 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002557/0.02255, allocations: 0.537 MB / 316.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.02266, allocations: 24.02 kB / 316.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.02269, allocations: 24 kB / 316.8 MB, free: 13.57 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.0001265/0.02282, allocations: 144.5 kB / 316.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.02286, allocations: 35.97 kB / 317 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.02309, allocations: 217.2 kB / 317.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02309, allocations: 4 kB / 317.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.02309, allocations: 3.984 kB / 317.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.0231, allocations: 0 / 317.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.02368, allocations: 0.5921 MB / 317.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.02368, allocations: 0 / 317.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.0239, allocations: 98.42 kB / 317.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.02393, allocations: 43.66 kB / 317.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.287e-05/0.02401, allocations: 24.84 kB / 317.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.02402, allocations: 12 kB / 317.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001841/0.02421, allocations: 0.5368 MB / 318.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.02421, allocations: 0 / 318.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.02447, allocations: 378.4 kB / 318.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.0245, allocations: 12 kB / 318.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.02457, allocations: 11.98 kB / 318.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.0246, allocations: 23.97 kB / 318.9 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.02462, allocations: 7.984 kB / 318.9 MB, free: 11.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.02472, allocations: 156.7 kB / 319.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02472, allocations: 4.031 kB / 319.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000274/0.02499, allocations: 127.9 kB / 319.2 MB, free: 11.05 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.0001354/0.02513, allocations: 107.2 kB / 319.3 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.02539, allocations: 239 kB / 319.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.0254, allocations: 8 kB / 319.5 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.0255, allocations: 100.9 kB / 319.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.02581, allocations: 109.6 kB / 319.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00545/0.03126, allocations: 1.499 MB / 321.2 MB, free: 8.941 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.03138, allocations: 177.7 kB / 321.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.03152, allocations: 66.22 kB / 321.5 MB, free: 8.684 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.03166, allocations: 131.3 kB / 321.6 MB, free: 8.555 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.03166, allocations: 0 / 321.6 MB, free: 8.555 MB / 314.7 MB Notification: Performance of Templates: time 0.008548/0.04021, allocations: 4.626 MB / 326.2 MB, free: 4.031 MB / 314.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 -ignoreHideResult -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.9739754516631365]