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.001153/0.001153, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001132/0.001132, allocations: 170 kB / 25.61 MB, free: 8.859 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 1.025/1.025, allocations: 177.1 MB / 206 MB, free: 4.527 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.1431/0.1431, allocations: 34.27 MB / 296.8 MB, free: 13.94 MB / 282.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.763e-06/1.763e-06, allocations: 0 / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.391e-05, allocations: 13.42 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.003933/0.003946, allocations: 5.475 MB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.006591, allocations: 2.278 MB / 387 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004326/0.007024, allocations: 55.56 kB / 387.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.007374, allocations: 230 kB / 387.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.007632, allocations: 202 kB / 387.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.008325, allocations: 478.7 kB / 388 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006243/0.00895, allocations: 1.137 MB / 389.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.009351, allocations: 401.9 kB / 389.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.009824, allocations: 0.573 MB / 390.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.01009, allocations: 283.1 kB / 390.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.01016, allocations: 96 kB / 390.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.01032, allocations: 163.8 kB / 390.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.01043, allocations: 227.2 kB / 390.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.01058, allocations: 303.3 kB / 391.1 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.01111, allocations: 0.7509 MB / 391.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01111, allocations: 0 / 391.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01111, allocations: 0 / 391.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.01112, allocations: 0 / 391.9 MB, free: 10.77 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.0008402/0.01196, allocations: 1.193 MB / 393.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.01199, allocations: 12.03 kB / 393.1 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.0122, allocations: 192.3 kB / 393.3 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.01266, allocations: 0.5447 MB / 393.8 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.01269, allocations: 70.12 kB / 393.9 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.01276, allocations: 99.94 kB / 394 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.01331, allocations: 0.7051 MB / 394.7 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.01334, allocations: 7.891 kB / 394.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.01337, allocations: 40 kB / 394.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.01338, allocations: 24 kB / 394.7 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.01367, allocations: 257.5 kB / 395 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.01549, allocations: 3.966 MB / 399 MB, free: 3.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.01577, allocations: 148.7 kB / 399.1 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.01583, allocations: 59.64 kB / 399.2 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.0159, allocations: 19.98 kB / 399.2 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.01592, allocations: 41.33 kB / 399.2 MB, free: 3.078 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/0.01592, allocations: 4 kB / 399.2 MB, free: 3.074 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009714/0.01689, allocations: 0.8487 MB / 400.1 MB, free: 2.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/0.01691, allocations: 63.41 kB / 400.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.01709, allocations: 442.2 kB / 400.6 MB, free: 1.641 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.0171, allocations: 33.7 kB / 400.6 MB, free: 1.602 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.01723, allocations: 0.5138 MB / 401.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.01728, allocations: 146.7 kB / 401.3 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.01736, allocations: 103.9 kB / 401.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.01743, allocations: 0.539 MB / 401.9 MB, free: 280 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/0.01748, allocations: 49.27 kB / 401.9 MB, free: 232 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.01765, allocations: 326.3 kB / 402.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.01796, allocations: 418.6 kB / 402.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01796, allocations: 8 kB / 402.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003937/0.01835, allocations: 420.4 kB / 403.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01837, allocations: 8 kB / 403.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.01837, allocations: 8 kB / 403.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000117/0.01849, allocations: 39.64 kB / 403.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.01871, allocations: 127.8 kB / 403.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003164/0.01903, allocations: 0.8077 MB / 404.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.01914, allocations: 16 kB / 404.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.01917, allocations: 28.3 kB / 404.1 MB, free: 13.77 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.0001461/0.01931, allocations: 200.3 kB / 404.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.01937, allocations: 59.67 kB / 404.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.01968, allocations: 257.8 kB / 404.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01968, allocations: 7.938 kB / 404.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01968, allocations: 0 / 404.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01969, allocations: 0 / 404.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007626/0.02045, allocations: 0.7666 MB / 405.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.02045, allocations: 0 / 405.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.02066, allocations: 83.89 kB / 405.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.171e-05/0.02076, allocations: 23.67 kB / 405.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.02078, allocations: 12 kB / 405.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003184/0.0211, allocations: 0.8 MB / 406.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.0211, allocations: 7.938 kB / 406.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.02154, allocations: 0.4915 MB / 406.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.02158, allocations: 43.66 kB / 406.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.02161, allocations: 11.94 kB / 406.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.02169, allocations: 8 kB / 406.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.02173, allocations: 23.95 kB / 406.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.02175, allocations: 12 kB / 406.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.02189, allocations: 267 kB / 407.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02189, allocations: 0 / 407.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000408/0.02229, allocations: 120 kB / 407.3 MB, free: 10.43 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.0001341/0.02243, allocations: 130.3 kB / 407.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.02272, allocations: 238.1 kB / 407.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02273, allocations: 448 / 407.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.02284, allocations: 112.1 kB / 407.8 MB, free: 9.945 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.02316, allocations: 85.92 kB / 407.8 MB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.02466, allocations: 1.448 MB / 409.3 MB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.995e-05/0.02476, allocations: 161.7 kB / 409.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.02487, allocations: 64.53 kB / 409.5 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.02501, allocations: 154.2 kB / 409.7 MB, free: 7.949 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02501, allocations: 0 / 409.7 MB, free: 7.949 MB / 330.7 MB Notification: Performance of Templates: time 0.007989/0.033, allocations: 4.391 MB / 414.1 MB, free: 3.645 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.2279351581819355]