Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008078/0.0008078, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009384/0.0009384, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8631/0.8631, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.249/0.249, allocations: 32.79 MB / 293.5 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.313e-05, allocations: 2.281 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.2033/0.2033, allocations: 5.137 MB / 444.7 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.2066, allocations: 2.266 MB / 447 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/0.2072, allocations: 58.44 kB / 447 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.2075, allocations: 233.4 kB / 447.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.2078, allocations: 193.2 kB / 447.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.2086, allocations: 473.8 kB / 447.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006111/0.2092, allocations: 1.136 MB / 449 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.2096, allocations: 399.6 kB / 449.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.2101, allocations: 0.5671 MB / 450 MB, free: 41.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.2103, allocations: 281.1 kB / 450.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.004e-05/0.2104, allocations: 94.03 kB / 450.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.2105, allocations: 155.1 kB / 450.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.2106, allocations: 219.1 kB / 450.7 MB, free: 41.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2108, allocations: 308.5 kB / 451 MB, free: 40.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.2115, allocations: 1.284 MB / 452.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2115, allocations: 3.141 kB / 452.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2115, allocations: 0 / 452.3 MB, free: 40.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.2115, allocations: 0 / 452.3 MB, free: 40.42 MB / 410.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.0008805/0.2124, allocations: 1.08 MB / 453.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2124, allocations: 8.844 kB / 453.4 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.653e-05/0.2125, allocations: 142.4 kB / 453.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.2127, allocations: 123.3 kB / 453.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.2132, allocations: 0.5117 MB / 454.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.2133, allocations: 76.25 kB / 454.2 MB, free: 39.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.2133, allocations: 92.98 kB / 454.3 MB, free: 39.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/0.2141, allocations: 0.8803 MB / 455.2 MB, free: 38.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.2141, allocations: 18.27 kB / 455.2 MB, free: 38.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.2142, allocations: 34.62 kB / 455.3 MB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.2142, allocations: 22.5 kB / 455.3 MB, free: 38.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.2148, allocations: 0.5223 MB / 455.8 MB, free: 38.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.2167, allocations: 3.308 MB / 459.1 MB, free: 35.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.2171, allocations: 207.6 kB / 459.3 MB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.2172, allocations: 98.47 kB / 459.4 MB, free: 35.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-05/0.2173, allocations: 20.45 kB / 459.4 MB, free: 35.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.2173, allocations: 41.06 kB / 459.5 MB, free: 35.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.023e-06/0.2173, allocations: 0 / 459.5 MB, free: 35.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001374/0.2186, allocations: 1.153 MB / 460.6 MB, free: 34.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.2187, allocations: 57.75 kB / 460.7 MB, free: 34.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.2189, allocations: 413.3 kB / 461.1 MB, free: 34.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.2189, allocations: 33.7 kB / 461.1 MB, free: 34.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.2191, allocations: 480.9 kB / 461.6 MB, free: 34.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.2191, allocations: 139.8 kB / 461.7 MB, free: 34.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.2192, allocations: 99.81 kB / 461.8 MB, free: 34.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.2192, allocations: 366.8 kB / 462.2 MB, free: 33.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.2194, allocations: 109.6 kB / 462.3 MB, free: 33.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.2195, allocations: 308.3 kB / 462.6 MB, free: 33.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.2198, allocations: 468 kB / 463.1 MB, free: 33.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2198, allocations: 7.125 kB / 463.1 MB, free: 33.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004333/0.2203, allocations: 0.5116 MB / 463.6 MB, free: 32.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2203, allocations: 7.688 kB / 463.6 MB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.2203, allocations: 6.062 kB / 463.6 MB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.2205, allocations: 41.25 kB / 463.6 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.2207, allocations: 126 kB / 463.7 MB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002576/0.2209, allocations: 0.554 MB / 464.3 MB, free: 32.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.221, allocations: 24.5 kB / 464.3 MB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.2211, allocations: 30.25 kB / 464.4 MB, free: 32.24 MB / 410.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.0002089/0.2213, allocations: 226.1 kB / 464.6 MB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.2213, allocations: 50.48 kB / 464.6 MB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.2217, allocations: 343.8 kB / 465 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2217, allocations: 3.031 kB / 465 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2217, allocations: 0 / 465 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2217, allocations: 0 / 465 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008999/0.2226, allocations: 0.995 MB / 466 MB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2226, allocations: 3.969 kB / 466 MB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.2228, allocations: 73.61 kB / 466 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.223, allocations: 38.3 kB / 466.1 MB, free: 31.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.223, allocations: 7.375 kB / 466.1 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001477/0.2231, allocations: 0.5537 MB / 466.6 MB, free: 30.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2231, allocations: 4.219 kB / 466.6 MB, free: 30.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.2235, allocations: 0.5589 MB / 467.2 MB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.2236, allocations: 41.41 kB / 467.2 MB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.2236, allocations: 11.38 kB / 467.2 MB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.2237, allocations: 10.41 kB / 467.3 MB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.2237, allocations: 23.2 kB / 467.3 MB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2237, allocations: 9.344 kB / 467.3 MB, free: 30.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.2239, allocations: 283.2 kB / 467.6 MB, free: 30.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2239, allocations: 7.938 kB / 467.6 MB, free: 30.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003869/0.2243, allocations: 121.6 kB / 467.7 MB, free: 30.15 MB / 410.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.0006027/0.2249, allocations: 1.108 MB / 468.8 MB, free: 29.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004153/0.2253, allocations: 321.3 kB / 469.1 MB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2253, allocations: 0 / 469.1 MB, free: 29.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.2255, allocations: 136.2 kB / 469.2 MB, free: 29.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.2258, allocations: 75.55 kB / 469.3 MB, free: 29.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.2293, allocations: 4.674 MB / 474 MB, free: 26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.2295, allocations: 365.7 kB / 474.4 MB, free: 25.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.2296, allocations: 60.88 kB / 474.4 MB, free: 25.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.2298, allocations: 296.9 kB / 474.7 MB, free: 25.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/0.2298, allocations: 0 / 474.7 MB, free: 25.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.2564, allocations: 10.16 MB / 484.9 MB, free: 23.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/7.976, allocations: 4.406 kB / 484.9 MB, free: 23.81 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.896116179414093]