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.001873/0.001873, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002248/0.002248, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2273/0.2273, allocations: 46.96 MB / 361.6 MB, free: 4.023 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.002094/0.002094, allocations: 67.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2867, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007288/0.294, allocations: 5.135 MB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.2982, allocations: 2.251 MB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000592/0.2988, allocations: 55.56 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005409/0.2993, allocations: 230 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.2997, allocations: 186.2 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3009, allocations: 478.8 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.3022, allocations: 1.11 MB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.3029, allocations: 429.8 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005196/0.3034, allocations: 386.6 kB / 0.5718 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004521/0.3039, allocations: 394 kB / 0.5722 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.304, allocations: 96 kB / 0.5722 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.3043, allocations: 159.9 kB / 0.5724 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.3045, allocations: 219.3 kB / 0.5726 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.3048, allocations: 370.2 kB / 0.573 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.3062, allocations: 1.306 MB / 0.5742 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3062, allocations: 0 / 0.5742 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3062, allocations: 0 / 0.5742 GB, free: 7.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3063, allocations: 0 / 0.5742 GB, free: 7.344 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.001654/0.3079, allocations: 1.074 MB / 0.5753 GB, free: 6.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3079, allocations: 12.03 kB / 0.5753 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/0.3082, allocations: 124.2 kB / 0.5754 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/0.3092, allocations: 0.5225 MB / 0.5759 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.3092, allocations: 66 kB / 0.576 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3094, allocations: 99.94 kB / 0.5761 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.3109, allocations: 0.8814 MB / 0.5769 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.311, allocations: 7.984 kB / 0.577 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.311, allocations: 40 kB / 0.577 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.3111, allocations: 28 kB / 0.577 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3121, allocations: 0.519 MB / 0.5775 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.3157, allocations: 3.209 MB / 0.5807 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.3163, allocations: 205.9 kB / 0.5809 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.3165, allocations: 96.81 kB / 0.5809 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.3166, allocations: 23.98 kB / 0.581 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3166, allocations: 34.56 kB / 0.581 GB, free: 136 kB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.3166, allocations: 0 / 0.581 GB, free: 136 kB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002395/0.319, allocations: 1.151 MB / 0.5821 GB, free: 14.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3191, allocations: 59.34 kB / 0.5822 GB, free: 14.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.3195, allocations: 425.6 kB / 0.5826 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.3195, allocations: 29.7 kB / 0.5826 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.3199, allocations: 483.5 kB / 0.5831 GB, free: 13.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.32, allocations: 138.8 kB / 0.5832 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.3201, allocations: 106.2 kB / 0.5833 GB, free: 13.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3203, allocations: 358.8 kB / 0.5837 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.3205, allocations: 113.3 kB / 0.5838 GB, free: 13.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.3209, allocations: 315 kB / 0.5841 GB, free: 12.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.3215, allocations: 455.6 kB / 0.5845 GB, free: 12.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.3215, allocations: 8 kB / 0.5845 GB, free: 12.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008163/0.3223, allocations: 0.5015 MB / 0.585 GB, free: 11.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3223, allocations: 8 kB / 0.585 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.3224, allocations: 11.98 kB / 0.585 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.3226, allocations: 40.84 kB / 0.5851 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.323, allocations: 123.8 kB / 0.5852 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004216/0.3234, allocations: 0.5605 MB / 0.5857 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.3236, allocations: 20.06 kB / 0.5857 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.3236, allocations: 32 kB / 0.5858 GB, free: 10.93 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.0002811/0.3239, allocations: 229.6 kB / 0.586 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.324, allocations: 55.61 kB / 0.586 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.3246, allocations: 327.2 kB / 0.5863 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3247, allocations: 4 kB / 0.5864 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3247, allocations: 3.984 kB / 0.5864 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3247, allocations: 4 kB / 0.5864 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.326, allocations: 0.879 MB / 0.5872 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.326, allocations: 4 kB / 0.5872 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.3264, allocations: 79.89 kB / 0.5873 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.3265, allocations: 32.84 kB / 0.5873 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.3266, allocations: 8 kB / 0.5873 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003716/0.3269, allocations: 0.5564 MB / 0.5879 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3269, allocations: 0 / 0.5879 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.3277, allocations: 0.564 MB / 0.5884 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.3278, allocations: 39.67 kB / 0.5885 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.3279, allocations: 8 kB / 0.5885 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.328, allocations: 11.94 kB / 0.5885 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.3281, allocations: 27.95 kB / 0.5885 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.3281, allocations: 15.98 kB / 0.5885 GB, free: 7.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002939/0.3284, allocations: 271.1 kB / 0.5888 GB, free: 7.691 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3284, allocations: 4.062 kB / 0.5888 GB, free: 7.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005125/0.3289, allocations: 131.9 kB / 0.5889 GB, free: 7.559 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.0001667/0.3291, allocations: 119.5 kB / 0.589 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006379/0.3297, allocations: 320.9 kB / 0.5893 GB, free: 7.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3297, allocations: 3.938 kB / 0.5893 GB, free: 7.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.33, allocations: 135.8 kB / 0.5895 GB, free: 6.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.3305, allocations: 76.31 kB / 0.5895 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.3331, allocations: 1.65 MB / 0.5912 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.3335, allocations: 368 kB / 0.5915 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.3336, allocations: 60.52 kB / 0.5916 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.3337, allocations: 39.44 kB / 0.5916 GB, free: 4.738 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3337, allocations: 0 / 0.5916 GB, free: 4.738 MB / 430.1 MB Notification: Performance of Templates: time 0.01092/0.3447, allocations: 5.035 MB / 0.5965 GB, free: 15.78 MB / 446.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 -s gbode -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/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_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.046922444002121]