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.001973/0.001973, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002703/0.002703, allocations: 211.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2311/0.2311, allocations: 46.96 MB / 360.9 MB, free: 4.055 MB / 286.1 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 0.002103/0.002103, allocations: 63.89 kB / 0.4966 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 66.03 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007407/0.3639, allocations: 5.138 MB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.3692, allocations: 2.247 MB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000656/0.3699, allocations: 55.56 kB / 0.5683 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.3704, allocations: 226 kB / 0.5685 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004479/0.3709, allocations: 182.2 kB / 0.5687 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.372, allocations: 478.9 kB / 0.5692 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.3733, allocations: 1.114 MB / 0.5703 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006883/0.374, allocations: 405.8 kB / 0.5706 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.3745, allocations: 378.7 kB / 0.571 GB, free: 9.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.3749, allocations: 346 kB / 0.5713 GB, free: 9.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.375, allocations: 96 kB / 0.5714 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.3753, allocations: 152 kB / 0.5716 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.3756, allocations: 223.2 kB / 0.5718 GB, free: 9.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.376, allocations: 374.2 kB / 0.5721 GB, free: 8.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.3774, allocations: 1.298 MB / 0.5734 GB, free: 7.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3774, allocations: 4 kB / 0.5734 GB, free: 7.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3774, allocations: 0 / 0.5734 GB, free: 7.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.3774, allocations: 0 / 0.5734 GB, free: 7.473 MB / 414.1 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.001888/0.3793, allocations: 1.077 MB / 0.5745 GB, free: 6.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3794, allocations: 12.03 kB / 0.5745 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.3797, allocations: 120.2 kB / 0.5746 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3808, allocations: 0.5303 MB / 0.5751 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/0.3809, allocations: 66 kB / 0.5752 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.381, allocations: 95.95 kB / 0.5753 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.3826, allocations: 0.8892 MB / 0.5761 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.3826, allocations: 4 kB / 0.5761 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.3827, allocations: 40 kB / 0.5762 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/0.3827, allocations: 24 kB / 0.5762 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.3838, allocations: 0.5229 MB / 0.5767 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.3876, allocations: 3.217 MB / 0.5799 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.3882, allocations: 207 kB / 0.5801 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.3884, allocations: 92.83 kB / 0.5801 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.3885, allocations: 19.98 kB / 0.5802 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3885, allocations: 34.56 kB / 0.5802 GB, free: 256 kB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.3885, allocations: 0 / 0.5802 GB, free: 256 kB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002433/0.3909, allocations: 1.151 MB / 0.5813 GB, free: 15.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.391, allocations: 55.41 kB / 0.5814 GB, free: 14.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.3915, allocations: 417.7 kB / 0.5818 GB, free: 14.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.3915, allocations: 29.7 kB / 0.5818 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.3919, allocations: 487.5 kB / 0.5823 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.392, allocations: 142.7 kB / 0.5824 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3922, allocations: 110.2 kB / 0.5825 GB, free: 13.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3924, allocations: 354.8 kB / 0.5828 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.3926, allocations: 113.3 kB / 0.5829 GB, free: 13.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.393, allocations: 307 kB / 0.5832 GB, free: 12.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.3937, allocations: 459.6 kB / 0.5837 GB, free: 12.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3937, allocations: 11.88 kB / 0.5837 GB, free: 12.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008598/0.3945, allocations: 0.5135 MB / 0.5842 GB, free: 11.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3945, allocations: 8 kB / 0.5842 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3946, allocations: 8 kB / 0.5842 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.3947, allocations: 40.84 kB / 0.5842 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.3951, allocations: 123.8 kB / 0.5844 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004797/0.3956, allocations: 0.5562 MB / 0.5849 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.3958, allocations: 16 kB / 0.5849 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.3959, allocations: 28 kB / 0.5849 GB, free: 11.05 MB / 430.1 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.0003277/0.3962, allocations: 237.7 kB / 0.5852 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.036e-05/0.3963, allocations: 55.61 kB / 0.5852 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.397, allocations: 331.1 kB / 0.5855 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.397, allocations: 7.938 kB / 0.5856 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.397, allocations: 0 / 0.5856 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.397, allocations: 0 / 0.5856 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.3984, allocations: 0.8868 MB / 0.5864 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3984, allocations: 4 kB / 0.5864 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.3988, allocations: 83.89 kB / 0.5865 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/0.3989, allocations: 32.88 kB / 0.5865 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.399, allocations: 16 kB / 0.5865 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003936/0.3994, allocations: 0.5446 MB / 0.5871 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3994, allocations: 0 / 0.5871 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.4002, allocations: 0.5681 MB / 0.5876 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.4003, allocations: 39.77 kB / 0.5877 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.4004, allocations: 11.94 kB / 0.5877 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.4005, allocations: 11.98 kB / 0.5877 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.4006, allocations: 27.95 kB / 0.5877 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.4006, allocations: 12 kB / 0.5877 GB, free: 8.062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000324/0.4009, allocations: 275.1 kB / 0.588 GB, free: 7.797 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4009, allocations: 0 / 0.588 GB, free: 7.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005432/0.4015, allocations: 127.9 kB / 0.5881 GB, free: 7.672 MB / 430.1 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.4016, allocations: 115.1 kB / 0.5882 GB, free: 7.547 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.4023, allocations: 320.9 kB / 0.5885 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4023, allocations: 384 / 0.5885 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.4026, allocations: 139.8 kB / 0.5887 GB, free: 7.098 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.4031, allocations: 73.03 kB / 0.5887 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.4058, allocations: 1.648 MB / 0.5903 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.4063, allocations: 368 kB / 0.5907 GB, free: 4.953 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.4065, allocations: 60.47 kB / 0.5908 GB, free: 4.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/0.4065, allocations: 43.42 kB / 0.5908 GB, free: 4.852 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4065, allocations: 0 / 0.5908 GB, free: 4.852 MB / 430.1 MB Notification: Performance of Templates: time 0.01178/0.4183, allocations: 4.89 MB / 0.5956 GB, free: 44 kB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.414395872503519]