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.001506/0.001506, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001708/0.001708, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.43/1.43, 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.2241/0.2241, allocations: 46.9 MB / 361.1 MB, free: 4.719 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.002351/0.002351, allocations: 79.86 kB / 0.4967 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3078, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007904/0.3157, allocations: 5.834 MB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.3201, allocations: 2.383 MB / 0.5692 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008044/0.3209, allocations: 39.75 kB / 0.5692 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.3215, allocations: 230 kB / 0.5695 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.322, allocations: 186.3 kB / 0.5696 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3232, allocations: 498.5 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3244, allocations: 1.103 MB / 0.5712 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007432/0.3251, allocations: 437.2 kB / 0.5716 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.3257, allocations: 374.7 kB / 0.572 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.3262, allocations: 394 kB / 0.5723 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3263, allocations: 96 kB / 0.5724 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.3266, allocations: 159.9 kB / 0.5726 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.3268, allocations: 211.3 kB / 0.5728 GB, free: 9.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.3272, allocations: 481.6 kB / 0.5732 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.3287, allocations: 1.279 MB / 0.5745 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3287, allocations: 0 / 0.5745 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3287, allocations: 4 kB / 0.5745 GB, free: 7.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.3287, allocations: 0 / 0.5745 GB, free: 7.316 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.001722/0.3304, allocations: 1.157 MB / 0.5756 GB, free: 6.109 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3305, allocations: 12.03 kB / 0.5756 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.3308, allocations: 124.2 kB / 0.5758 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009933/0.3318, allocations: 0.5947 MB / 0.5763 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.3318, allocations: 66 kB / 0.5764 GB, free: 5.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.332, allocations: 95.95 kB / 0.5765 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.3335, allocations: 0.8892 MB / 0.5774 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.102e-05/0.3335, allocations: 7.938 kB / 0.5774 GB, free: 4.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.175e-05/0.3336, allocations: 40 kB / 0.5774 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.3336, allocations: 24 kB / 0.5774 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.3347, allocations: 0.519 MB / 0.5779 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00399/0.3387, allocations: 3.617 MB / 0.5815 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.3393, allocations: 213.5 kB / 0.5817 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3395, allocations: 96.81 kB / 0.5818 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.3397, allocations: 247.3 kB / 0.582 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3397, allocations: 42.5 kB / 0.582 GB, free: 15.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.3397, allocations: 3.938 kB / 0.582 GB, free: 15.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.002561/0.3423, allocations: 1.297 MB / 0.5833 GB, free: 13.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3423, allocations: 55.41 kB / 0.5834 GB, free: 13.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.3428, allocations: 409.8 kB / 0.5838 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3428, allocations: 33.7 kB / 0.5838 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.3431, allocations: 479.4 kB / 0.5842 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.3433, allocations: 138.8 kB / 0.5844 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3434, allocations: 98.2 kB / 0.5845 GB, free: 12.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.3437, allocations: 362.8 kB / 0.5848 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.3439, allocations: 117.1 kB / 0.5849 GB, free: 12.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.3443, allocations: 310 kB / 0.5852 GB, free: 11.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.345, allocations: 459.6 kB / 0.5857 GB, free: 11.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.345, allocations: 4 kB / 0.5857 GB, free: 11.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008343/0.3458, allocations: 0.5128 MB / 0.5862 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3458, allocations: 8 kB / 0.5862 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.3458, allocations: 8 kB / 0.5862 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002036/0.346, allocations: 45.55 kB / 0.5862 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3464, allocations: 123.8 kB / 0.5863 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004495/0.3469, allocations: 0.5601 MB / 0.5869 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3471, allocations: 19.98 kB / 0.5869 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.3471, allocations: 24 kB / 0.5869 GB, free: 9.832 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.0003271/0.3474, allocations: 233.6 kB / 0.5872 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3475, allocations: 55.67 kB / 0.5872 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.3482, allocations: 330.9 kB / 0.5875 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3482, allocations: 3.984 kB / 0.5875 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3482, allocations: 0 / 0.5875 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3483, allocations: 116.8 kB / 0.5876 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.3483, allocations: 8 kB / 0.5876 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3485, allocations: 8 kB / 0.5877 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.3485, allocations: 27.91 kB / 0.5877 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009051/0.3494, allocations: 429.8 kB / 0.5881 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000819/0.3503, allocations: 0.6054 MB / 0.5887 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001924/0.3505, allocations: 99.94 kB / 0.5888 GB, free: 7.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.3508, allocations: 275.1 kB / 0.589 GB, free: 7.609 MB / 430.1 MB Notification: Performance of Backend: time 4.81e-07/0.3508, allocations: 0 / 0.589 GB, free: 7.609 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000881/0.3516, allocations: 336.7 kB / 0.5894 GB, free: 7.277 MB / 430.1 MB Notification: Performance of SimCode: time 0.003085/0.3547, allocations: 2.117 MB / 0.5914 GB, free: 5.102 MB / 430.1 MB Notification: Performance of Templates: time 0.01213/0.3669, allocations: 5.42 MB / 0.5967 GB, free: 15.71 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 -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: 4.93536690576002]