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.001671/0.001671, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001889/0.001889, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.472/1.472, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2265/0.2265, allocations: 46.95 MB / 361.6 MB, free: 3.898 MB / 286.1 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 0.002481/0.002481, allocations: 87.86 kB / 0.4974 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3388, allocations: 66.07 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008262/0.347, allocations: 5.142 MB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005116/0.3521, allocations: 2.259 MB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009144/0.3531, allocations: 55.5 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006315/0.3537, allocations: 230 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005989/0.3543, allocations: 178.3 kB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.3556, allocations: 478.9 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.357, allocations: 1.11 MB / 0.5711 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007883/0.3578, allocations: 401.8 kB / 0.5715 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006519/0.3585, allocations: 382.7 kB / 0.5718 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.3589, allocations: 342 kB / 0.5722 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.3591, allocations: 92 kB / 0.5723 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.3594, allocations: 167.8 kB / 0.5724 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.3597, allocations: 211.3 kB / 0.5726 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004337/0.3601, allocations: 386.1 kB / 0.573 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.3618, allocations: 1.286 MB / 0.5742 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3618, allocations: 0 / 0.5742 GB, free: 7.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3618, allocations: 4 kB / 0.5743 GB, free: 7.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.3618, allocations: 0 / 0.5743 GB, free: 7.223 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.0019/0.3637, allocations: 1.085 MB / 0.5753 GB, free: 6.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3637, allocations: 8.031 kB / 0.5753 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.364, allocations: 120.2 kB / 0.5754 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.3652, allocations: 0.5264 MB / 0.5759 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.633e-05/0.3653, allocations: 69.94 kB / 0.576 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.3654, allocations: 95.95 kB / 0.5761 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.3671, allocations: 0.8814 MB / 0.577 GB, free: 4.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.3672, allocations: 7.922 kB / 0.577 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-05/0.3673, allocations: 40 kB / 0.577 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.3673, allocations: 20 kB / 0.577 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.3685, allocations: 0.5229 MB / 0.5775 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004292/0.3728, allocations: 3.213 MB / 0.5807 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.3734, allocations: 207 kB / 0.5809 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3736, allocations: 96.81 kB / 0.581 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.3737, allocations: 19.98 kB / 0.581 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.3737, allocations: 34.56 kB / 0.581 GB, free: 4 kB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.786e-06/0.3737, allocations: 0 / 0.581 GB, free: 4 kB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002686/0.3764, allocations: 1.154 MB / 0.5821 GB, free: 14.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.3765, allocations: 55.41 kB / 0.5822 GB, free: 14.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.3771, allocations: 417.7 kB / 0.5826 GB, free: 14.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.3771, allocations: 37.64 kB / 0.5826 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.3775, allocations: 479.5 kB / 0.5831 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.3776, allocations: 150.8 kB / 0.5832 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.3778, allocations: 102.2 kB / 0.5833 GB, free: 13.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.378, allocations: 362.8 kB / 0.5837 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.3783, allocations: 113.2 kB / 0.5838 GB, free: 13.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.3787, allocations: 315 kB / 0.5841 GB, free: 12.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.3794, allocations: 459.6 kB / 0.5845 GB, free: 12.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3794, allocations: 0 / 0.5845 GB, free: 12.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009019/0.3803, allocations: 0.5135 MB / 0.585 GB, free: 11.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.3803, allocations: 12.03 kB / 0.585 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3803, allocations: 4 kB / 0.585 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.3805, allocations: 36.84 kB / 0.5851 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.381, allocations: 131.8 kB / 0.5852 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004921/0.3814, allocations: 0.5601 MB / 0.5858 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.3817, allocations: 16 kB / 0.5858 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.3818, allocations: 24 kB / 0.5858 GB, free: 10.8 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.0003665/0.3821, allocations: 233.6 kB / 0.586 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.3822, allocations: 55.61 kB / 0.5861 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006923/0.3829, allocations: 323 kB / 0.5864 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3829, allocations: 4 kB / 0.5864 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3829, allocations: 4 kB / 0.5864 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3829, allocations: 0 / 0.5864 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.3845, allocations: 0.887 MB / 0.5872 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3845, allocations: 0 / 0.5872 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/0.3849, allocations: 83.89 kB / 0.5873 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.385, allocations: 32.78 kB / 0.5874 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.385, allocations: 8.047 kB / 0.5874 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004364/0.3855, allocations: 0.5563 MB / 0.5879 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3855, allocations: 0 / 0.5879 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009154/0.3864, allocations: 0.5642 MB / 0.5885 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.3865, allocations: 43.67 kB / 0.5885 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.3865, allocations: 8 kB / 0.5885 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3867, allocations: 11.98 kB / 0.5885 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.3868, allocations: 27.98 kB / 0.5885 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3868, allocations: 15.94 kB / 0.5886 GB, free: 7.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003508/0.3871, allocations: 275.1 kB / 0.5888 GB, free: 7.547 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3871, allocations: 0 / 0.5888 GB, free: 7.547 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006172/0.3878, allocations: 131.9 kB / 0.589 GB, free: 7.418 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.0002016/0.388, allocations: 111.1 kB / 0.5891 GB, free: 7.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007129/0.3887, allocations: 313.9 kB / 0.5894 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3887, allocations: 0 / 0.5894 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.389, allocations: 144.1 kB / 0.5895 GB, free: 6.852 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.3896, allocations: 87.86 kB / 0.5896 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.3926, allocations: 1.681 MB / 0.5912 GB, free: 5.035 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3931, allocations: 368 kB / 0.5916 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3932, allocations: 47.42 kB / 0.5916 GB, free: 4.605 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3932, allocations: 0 / 0.5916 GB, free: 4.605 MB / 430.1 MB Notification: Performance of Templates: time 0.01817/0.4114, allocations: 11.64 MB / 0.603 GB, free: 8.965 MB / 446.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.617739214096218]