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.001769/0.001769, allocations: 112.4 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.001554/0.001554, allocations: 204.1 kB / 24.46 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.576/1.576, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2508/0.2508, allocations: 46.9 MB / 361.1 MB, free: 4.645 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.002399/0.002399, allocations: 79.88 kB / 0.4967 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3799, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008396/0.3883, allocations: 5.838 MB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004931/0.3932, allocations: 2.372 MB / 0.5692 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008538/0.394, allocations: 43.75 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005772/0.3946, allocations: 226 kB / 0.5694 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.3951, allocations: 186.2 kB / 0.5696 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3963, allocations: 494.6 kB / 0.5701 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.3975, allocations: 1.114 MB / 0.5712 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007329/0.3982, allocations: 429.2 kB / 0.5716 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.3988, allocations: 378.7 kB / 0.572 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.3993, allocations: 398 kB / 0.5723 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.3994, allocations: 96 kB / 0.5724 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.3997, allocations: 156 kB / 0.5726 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.4, allocations: 219.2 kB / 0.5728 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.4004, allocations: 473.6 kB / 0.5732 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.4019, allocations: 1.283 MB / 0.5745 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4019, allocations: 0 / 0.5745 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4019, allocations: 0 / 0.5745 GB, free: 7.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.402, allocations: 0 / 0.5745 GB, free: 7.32 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.001878/0.4038, allocations: 1.157 MB / 0.5756 GB, free: 6.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.4039, allocations: 8.031 kB / 0.5756 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.4042, allocations: 120.2 kB / 0.5757 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.4052, allocations: 0.6103 MB / 0.5763 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.4053, allocations: 70 kB / 0.5764 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.4055, allocations: 95.95 kB / 0.5765 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.407, allocations: 0.8814 MB / 0.5774 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.407, allocations: 8 kB / 0.5774 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/0.4071, allocations: 39.94 kB / 0.5774 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.4071, allocations: 24 kB / 0.5774 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.4082, allocations: 0.5229 MB / 0.5779 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.4123, allocations: 3.613 MB / 0.5815 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.413, allocations: 214 kB / 0.5817 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.4132, allocations: 100.8 kB / 0.5818 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.4135, allocations: 247.3 kB / 0.582 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.4136, allocations: 34.56 kB / 0.582 GB, free: 15.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/0.4136, allocations: 0 / 0.582 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.002932/0.4165, allocations: 1.301 MB / 0.5833 GB, free: 13.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.4166, allocations: 59.34 kB / 0.5834 GB, free: 13.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.4171, allocations: 401.8 kB / 0.5837 GB, free: 13.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.4171, allocations: 37.7 kB / 0.5838 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.4176, allocations: 483.3 kB / 0.5842 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4177, allocations: 138.8 kB / 0.5844 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.4178, allocations: 106.2 kB / 0.5845 GB, free: 12.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.418, allocations: 358.8 kB / 0.5848 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.4182, allocations: 113.1 kB / 0.5849 GB, free: 12.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.4186, allocations: 306.1 kB / 0.5852 GB, free: 11.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.4192, allocations: 463.6 kB / 0.5857 GB, free: 11.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4192, allocations: 0 / 0.5857 GB, free: 11.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008628/0.4201, allocations: 0.5205 MB / 0.5862 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.4201, allocations: 8.844 kB / 0.5862 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4201, allocations: 4 kB / 0.5862 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.4204, allocations: 40.84 kB / 0.5862 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.4208, allocations: 123.8 kB / 0.5863 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007267/0.4215, allocations: 0.5601 MB / 0.5869 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.4218, allocations: 16 kB / 0.5869 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/0.4218, allocations: 24 kB / 0.5869 GB, free: 9.84 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.0004935/0.4223, allocations: 237.6 kB / 0.5871 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.4224, allocations: 55.61 kB / 0.5872 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007654/0.4232, allocations: 334.9 kB / 0.5875 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.4232, allocations: 4 kB / 0.5875 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.4232, allocations: 0 / 0.5875 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4232, allocations: 0 / 0.5875 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.425, allocations: 1.063 MB / 0.5886 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.425, allocations: 7.938 kB / 0.5886 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.4254, allocations: 71.91 kB / 0.5886 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.4255, allocations: 40.94 kB / 0.5887 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.4256, allocations: 15.98 kB / 0.5887 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003891/0.4259, allocations: 0.5407 MB / 0.5892 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4259, allocations: 0 / 0.5892 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.4268, allocations: 0.5608 MB / 0.5898 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.4269, allocations: 120.8 kB / 0.5899 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.4269, allocations: 16 kB / 0.5899 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4271, allocations: 8 kB / 0.5899 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.4272, allocations: 31.91 kB / 0.5899 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4272, allocations: 8 kB / 0.5899 GB, free: 6.562 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.4275, allocations: 271.1 kB / 0.5902 GB, free: 6.297 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4275, allocations: 0 / 0.5902 GB, free: 6.297 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005658/0.4281, allocations: 127.9 kB / 0.5903 GB, free: 6.172 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.0001763/0.4283, allocations: 119.2 kB / 0.5904 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.4289, allocations: 321.3 kB / 0.5907 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4289, allocations: 192 / 0.5907 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.4292, allocations: 128.3 kB / 0.5909 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.4298, allocations: 80.36 kB / 0.5909 GB, free: 5.531 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.4326, allocations: 1.657 MB / 0.5926 GB, free: 3.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.4332, allocations: 0.96 MB / 0.5935 GB, free: 2.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.4334, allocations: 64.42 kB / 0.5936 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.4335, allocations: 43.42 kB / 0.5936 GB, free: 2.734 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4335, allocations: 0 / 0.5936 GB, free: 2.734 MB / 430.1 MB Notification: Performance of Templates: time 0.01107/0.4445, allocations: 4.467 MB / 0.598 GB, free: 14.29 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 cvode -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.368223703932017]