Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001482/0.001482, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.003093, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001854/0.001854, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006347/0.008201, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.033/1.033, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2071/1.24, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1491/0.1491, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03309/0.1822, allocations: 12.31 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 3.938 kB / 267.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.127e-05/4.366e-05, allocations: 10.19 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.00966/0.009704, allocations: 5.569 MB / 272.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.01585, allocations: 2.356 MB / 275.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.01807, allocations: 55.5 kB / 275.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.01881, allocations: 237.9 kB / 275.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001133/0.01995, allocations: 194.1 kB / 275.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.02164, allocations: 462.7 kB / 276.2 MB, free: 9.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.02343, allocations: 1.122 MB / 277.3 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008708/0.0243, allocations: 417.9 kB / 277.8 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.02532, allocations: 0.577 MB / 278.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.02591, allocations: 291.1 kB / 278.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.02609, allocations: 96 kB / 278.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003745/0.02647, allocations: 155.8 kB / 278.9 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.02668, allocations: 175.4 kB / 279 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.027, allocations: 259.4 kB / 279.3 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.02821, allocations: 0.7043 MB / 280 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.598e-05/0.02823, allocations: 3.984 kB / 280 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.02824, allocations: 0 / 280 MB, free: 5.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.92e-05/0.02828, allocations: 0 / 280 MB, free: 5.867 MB / 282.7 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.001822/0.03011, allocations: 1.243 MB / 281.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.03016, allocations: 8.031 kB / 281.2 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.03037, allocations: 140.8 kB / 281.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/0.03123, allocations: 467 kB / 281.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.0313, allocations: 78.11 kB / 281.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.03143, allocations: 95.94 kB / 282 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.03265, allocations: 0.7579 MB / 282.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/0.03269, allocations: 11.94 kB / 282.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/0.03275, allocations: 36 kB / 282.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.03278, allocations: 24 kB / 282.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000569/0.03335, allocations: 240.4 kB / 283.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1764/0.2098, allocations: 2.86 MB / 285.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005906/0.2103, allocations: 143.5 kB / 286.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2105, allocations: 48.69 kB / 286.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.2106, allocations: 24.62 kB / 286.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2106, allocations: 40.62 kB / 286.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 4.368e-06/0.2106, allocations: 0 / 286.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.002016/0.2126, allocations: 0.8398 MB / 287 MB, free: 12.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.2127, allocations: 55.97 kB / 287.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.2131, allocations: 387 kB / 287.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2131, allocations: 35.44 kB / 287.5 MB, free: 12.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.2134, allocations: 435.4 kB / 287.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.2135, allocations: 139.1 kB / 288 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.2136, allocations: 102.2 kB / 288.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2137, allocations: 368.8 kB / 288.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.2138, allocations: 44.8 kB / 288.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.214, allocations: 243.6 kB / 288.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.2144, allocations: 368.9 kB / 289.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2144, allocations: 1.938 kB / 289.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006171/0.215, allocations: 333.9 kB / 289.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.2151, allocations: 10.25 kB / 289.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.2151, allocations: 9.062 kB / 289.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.2153, allocations: 35.56 kB / 289.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.2157, allocations: 144.3 kB / 289.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002972/0.216, allocations: 0.5398 MB / 290.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.2162, allocations: 22.75 kB / 290.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.2163, allocations: 21.23 kB / 290.3 MB, free: 10.52 MB / 282.7 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.0002193/0.2165, allocations: 147.5 kB / 290.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.2166, allocations: 42.83 kB / 290.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.217, allocations: 207.8 kB / 290.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.217, allocations: 3.953 kB / 290.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.217, allocations: 1.625 kB / 290.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.217, allocations: 2.109 kB / 290.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2182, allocations: 0.5795 MB / 291.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.2182, allocations: 1.875 kB / 291.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.2186, allocations: 103.8 kB / 291.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.2187, allocations: 46.25 kB / 291.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.2189, allocations: 27.53 kB / 291.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.2189, allocations: 14.39 kB / 291.4 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003546/0.2192, allocations: 0.5233 MB / 291.9 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.2193, allocations: 9.875 kB / 292 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000532/0.2198, allocations: 391.1 kB / 292.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.2198, allocations: 8.781 kB / 292.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.2199, allocations: 9.469 kB / 292.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.22, allocations: 27.56 kB / 292.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.22, allocations: 11.39 kB / 292.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.2203, allocations: 154.8 kB / 292.5 MB, free: 9.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2203, allocations: 1.469 kB / 292.5 MB, free: 9.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006273/0.2209, allocations: 129.1 kB / 292.7 MB, free: 9.32 MB / 282.7 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.0002592/0.2212, allocations: 100.2 kB / 292.8 MB, free: 9.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.2217, allocations: 224.8 kB / 293 MB, free: 9.246 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.192e-05/0.2217, allocations: 13.55 kB / 293 MB, free: 9.246 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.2219, allocations: 118.8 kB / 293.1 MB, free: 9.234 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.2226, allocations: 0.6878 MB / 293.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006608/0.2292, allocations: 1.498 MB / 295.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.2295, allocations: 179 kB / 295.5 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002771/0.2298, allocations: 62.72 kB / 295.5 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.23, allocations: 138.7 kB / 295.7 MB, free: 7.676 MB / 282.7 MB Notification: Performance of SimCode: time 2.615e-06/0.23, allocations: 0 / 295.7 MB, free: 7.676 MB / 282.7 MB Notification: Performance of Templates: time 0.01217/0.2422, allocations: 4.325 MB / 300 MB, free: 6.934 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2518453700467944]