Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001439/0.001439, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001894/0.001894, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9789/0.9789, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 32.81 MB / 294.3 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.583e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.00725/0.007275, allocations: 5.611 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003949/0.01122, allocations: 2.294 MB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.01172, allocations: 55.56 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.01223, allocations: 229.9 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.01264, allocations: 194.1 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.01379, allocations: 478.7 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.01492, allocations: 1.141 MB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006922/0.01562, allocations: 394 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007819/0.0164, allocations: 0.5691 MB / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.01679, allocations: 287.1 kB / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.01693, allocations: 96 kB / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.0172, allocations: 163.8 kB / 387.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.0174, allocations: 219.2 kB / 387.7 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.01771, allocations: 311.2 kB / 388 MB, free: 8.617 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009399/0.01865, allocations: 0.7471 MB / 388.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.01865, allocations: 4 kB / 388.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01865, allocations: 0 / 388.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.01867, allocations: 0 / 388.7 MB, free: 7.863 MB / 362.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.001594/0.02026, allocations: 1.177 MB / 389.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.02031, allocations: 12.03 kB / 389.9 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.02066, allocations: 192.3 kB / 390.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.02151, allocations: 0.5564 MB / 390.7 MB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.02157, allocations: 70.12 kB / 390.7 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.02171, allocations: 92 kB / 390.8 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.023, allocations: 0.7521 MB / 391.6 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/0.02304, allocations: 19.88 kB / 391.6 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/0.02311, allocations: 36 kB / 391.6 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.02313, allocations: 28 kB / 391.6 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.02391, allocations: 311.5 kB / 392 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.02739, allocations: 4.051 MB / 396 MB, free: 276 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.02791, allocations: 171.7 kB / 396.2 MB, free: 84 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.02804, allocations: 72.08 kB / 396.2 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.02817, allocations: 15.98 kB / 396.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.0282, allocations: 45.83 kB / 396.3 MB, free: 15.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.0282, allocations: 0 / 396.3 MB, free: 15.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002045/0.03025, allocations: 1.01 MB / 397.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.03028, allocations: 55.41 kB / 397.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.03072, allocations: 442.5 kB / 397.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.03074, allocations: 37.7 kB / 397.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.03105, allocations: 0.5177 MB / 398.4 MB, free: 13.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.03115, allocations: 142.8 kB / 398.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.03128, allocations: 99.95 kB / 398.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.03148, allocations: 0.5352 MB / 399.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.03164, allocations: 65.2 kB / 399.2 MB, free: 12.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.03194, allocations: 334.4 kB / 399.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.03243, allocations: 451.6 kB / 400 MB, free: 11.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.03244, allocations: 0 / 400 MB, free: 11.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007068/0.03314, allocations: 448.8 kB / 400.4 MB, free: 11.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.03317, allocations: 8 kB / 400.4 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.03318, allocations: 4 kB / 400.4 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.03337, allocations: 47.59 kB / 400.5 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.03373, allocations: 119.8 kB / 400.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004338/0.03417, allocations: 0.8155 MB / 401.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.03436, allocations: 20 kB / 401.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.03441, allocations: 27.98 kB / 401.4 MB, free: 10.39 MB / 378.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.0001933/0.0346, allocations: 196.5 kB / 401.6 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.03468, allocations: 59.67 kB / 401.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.03519, allocations: 269.9 kB / 401.9 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.03519, allocations: 4 kB / 402 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.0352, allocations: 4 kB / 402 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.0352, allocations: 0 / 402 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.03644, allocations: 0.8794 MB / 402.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.03645, allocations: 0 / 402.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.03678, allocations: 79.89 kB / 402.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.0369, allocations: 31.67 kB / 402.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.03692, allocations: 8 kB / 403 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003496/0.03727, allocations: 0.8077 MB / 403.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.03727, allocations: 0 / 403.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/0.03791, allocations: 0.5267 MB / 404.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.03797, allocations: 43.61 kB / 404.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.03802, allocations: 12 kB / 404.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.03817, allocations: 11.98 kB / 404.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.03822, allocations: 19.91 kB / 404.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.03825, allocations: 19.98 kB / 404.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002713/0.03852, allocations: 283 kB / 404.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.03852, allocations: 0 / 404.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.03903, allocations: 124 kB / 404.8 MB, free: 6.867 MB / 378.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.0001648/0.03919, allocations: 122.3 kB / 404.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005384/0.03973, allocations: 258.4 kB / 405.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.03973, allocations: 4 kB / 405.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.03995, allocations: 112.6 kB / 405.3 MB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.04048, allocations: 97.61 kB / 405.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.04282, allocations: 1.447 MB / 406.8 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.04296, allocations: 157.7 kB / 407 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.04312, allocations: 60.53 kB / 407 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.04321, allocations: 44.48 kB / 407.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.04321, allocations: 0 / 407.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of Templates: time 0.009134/0.05235, allocations: 3.945 MB / 411 MB, free: 0.6211 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2087436611764133]