Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001281/0.001281, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.001321/0.001321, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 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.467/1.467, allocations: 230.2 MB / 257.8 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.227/0.227, allocations: 46.88 MB / 361.1 MB, free: 4.641 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 79.88 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3462, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007932/0.3542, allocations: 5.83 MB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.3589, allocations: 2.387 MB / 0.5692 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.3596, allocations: 35.81 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.3602, allocations: 230 kB / 0.5695 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.3606, allocations: 186.2 kB / 0.5696 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3618, allocations: 494.6 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.3631, allocations: 1.11 MB / 0.5712 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007332/0.3638, allocations: 429.3 kB / 0.5716 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005697/0.3644, allocations: 374.7 kB / 0.572 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.3649, allocations: 398 kB / 0.5723 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.365, allocations: 92 kB / 0.5724 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.3653, allocations: 160 kB / 0.5726 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.3655, allocations: 223.2 kB / 0.5728 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.366, allocations: 473.6 kB / 0.5732 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.3675, allocations: 1.283 MB / 0.5745 GB, free: 7.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3675, allocations: 0 / 0.5745 GB, free: 7.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3676, allocations: 0 / 0.5745 GB, free: 7.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.3676, allocations: 3.938 kB / 0.5745 GB, free: 7.305 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.001871/0.3694, allocations: 1.157 MB / 0.5756 GB, free: 6.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3695, allocations: 8.031 kB / 0.5756 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.3698, allocations: 120.2 kB / 0.5758 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3708, allocations: 0.5986 MB / 0.5763 GB, free: 5.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.3708, allocations: 66 kB / 0.5764 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.371, allocations: 95.95 kB / 0.5765 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.3725, allocations: 0.8915 MB / 0.5774 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.3726, allocations: 11.94 kB / 0.5774 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.3727, allocations: 36 kB / 0.5774 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.3727, allocations: 24 kB / 0.5774 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3738, allocations: 0.519 MB / 0.5779 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004213/0.378, allocations: 3.613 MB / 0.5815 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.3786, allocations: 206.6 kB / 0.5817 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.3788, allocations: 100.8 kB / 0.5818 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/0.3791, allocations: 251.3 kB / 0.582 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3791, allocations: 38.56 kB / 0.582 GB, free: 15.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.3791, allocations: 0 / 0.582 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.00274/0.3819, allocations: 1.301 MB / 0.5833 GB, free: 13.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.3819, allocations: 59.34 kB / 0.5834 GB, free: 13.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.3824, allocations: 413.8 kB / 0.5838 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.3824, allocations: 29.7 kB / 0.5838 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.3828, allocations: 479.5 kB / 0.5842 GB, free: 12.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.383, allocations: 142.8 kB / 0.5844 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.3831, allocations: 98.2 kB / 0.5845 GB, free: 12.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.3834, allocations: 354.8 kB / 0.5848 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.3836, allocations: 121.1 kB / 0.5849 GB, free: 12.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.384, allocations: 306.1 kB / 0.5852 GB, free: 11.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006787/0.3847, allocations: 467.6 kB / 0.5857 GB, free: 11.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3847, allocations: 0 / 0.5857 GB, free: 11.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008592/0.3855, allocations: 0.5129 MB / 0.5862 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.3855, allocations: 8 kB / 0.5862 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.3856, allocations: 8 kB / 0.5862 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.3858, allocations: 37.5 kB / 0.5862 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.3862, allocations: 119.8 kB / 0.5863 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004772/0.3866, allocations: 0.5679 MB / 0.5869 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.3868, allocations: 16 kB / 0.5869 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.3869, allocations: 32 kB / 0.5869 GB, free: 9.824 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.0003652/0.3873, allocations: 225.6 kB / 0.5871 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.94e-05/0.3873, allocations: 55.61 kB / 0.5872 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007266/0.3881, allocations: 343 kB / 0.5875 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3881, allocations: 0 / 0.5875 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3881, allocations: 4 kB / 0.5875 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3881, allocations: 0 / 0.5875 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.3897, allocations: 1.059 MB / 0.5886 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3897, allocations: 3.984 kB / 0.5886 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.3901, allocations: 79.91 kB / 0.5886 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.3902, allocations: 32.78 kB / 0.5887 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.3902, allocations: 11.98 kB / 0.5887 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004112/0.3906, allocations: 0.5447 MB / 0.5892 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3907, allocations: 7.969 kB / 0.5892 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.3915, allocations: 0.5531 MB / 0.5898 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.3916, allocations: 129 kB / 0.5899 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.3917, allocations: 12 kB / 0.5899 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3918, allocations: 11.94 kB / 0.5899 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.3919, allocations: 23.91 kB / 0.5899 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.3919, allocations: 12 kB / 0.5899 GB, free: 6.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003087/0.3922, allocations: 275.1 kB / 0.5902 GB, free: 6.285 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3922, allocations: 0 / 0.5902 GB, free: 6.285 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000577/0.3928, allocations: 131.9 kB / 0.5903 GB, free: 6.156 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.0001814/0.393, allocations: 115.2 kB / 0.5904 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006866/0.3937, allocations: 316.3 kB / 0.5907 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3937, allocations: 4 kB / 0.5907 GB, free: 5.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.3939, allocations: 133.3 kB / 0.5909 GB, free: 5.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.3945, allocations: 73.92 kB / 0.5909 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.3973, allocations: 1.649 MB / 0.5926 GB, free: 3.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.398, allocations: 0.9639 MB / 0.5935 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.3982, allocations: 56.48 kB / 0.5936 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.3983, allocations: 47.42 kB / 0.5936 GB, free: 2.73 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3983, allocations: 0 / 0.5936 GB, free: 2.73 MB / 430.1 MB Notification: Performance of Templates: time 0.01115/0.4094, allocations: 4.455 MB / 0.5979 GB, free: 14.3 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.2950799078680575]