Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001398/0.001398, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.00152/0.00152, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.515/1.515, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.219/0.219, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 442.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.477e-05, allocations: 6.281 kB / 442.6 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007677/0.007702, allocations: 5.153 MB / 447.8 MB, free: 176 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2051/0.2128, allocations: 2.253 MB / 450 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.2139, allocations: 52.91 kB / 450.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008109/0.2147, allocations: 232.8 kB / 450.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007966/0.2155, allocations: 193.6 kB / 450.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.217, allocations: 479.2 kB / 451 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.2182, allocations: 1.139 MB / 452.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006543/0.2189, allocations: 392 kB / 452.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007812/0.2197, allocations: 0.569 MB / 453 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.2201, allocations: 277.4 kB / 453.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.2202, allocations: 94.81 kB / 453.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.2205, allocations: 157.2 kB / 453.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.2207, allocations: 221.9 kB / 453.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.221, allocations: 305.2 kB / 454.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.2225, allocations: 1.285 MB / 455.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2225, allocations: 5.062 kB / 455.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2225, allocations: 0 / 455.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.2225, allocations: 0 / 455.4 MB, free: 12.83 MB / 366.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.001452/0.2239, allocations: 1.07 MB / 456.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.224, allocations: 10.41 kB / 456.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.2243, allocations: 114.7 kB / 456.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008664/0.2251, allocations: 0.5305 MB / 457.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.2252, allocations: 69.91 kB / 457.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.2253, allocations: 92.91 kB / 457.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.2268, allocations: 0.884 MB / 458.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.2268, allocations: 13.44 kB / 458.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.2269, allocations: 37.52 kB / 458.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.2269, allocations: 23.03 kB / 458.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009916/0.2279, allocations: 0.5222 MB / 458.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.2308, allocations: 3.201 MB / 461.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.2314, allocations: 213.8 kB / 462.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2315, allocations: 96.91 kB / 462.2 MB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.2316, allocations: 21.58 kB / 462.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.2317, allocations: 37.34 kB / 462.3 MB, free: 8.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/0.2317, allocations: 4 kB / 462.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.00222/0.2339, allocations: 1.164 MB / 463.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.2339, allocations: 56.58 kB / 463.5 MB, free: 7.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.2343, allocations: 411.9 kB / 463.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2343, allocations: 30.89 kB / 463.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.2346, allocations: 482.2 kB / 464.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-05/0.2347, allocations: 145.7 kB / 464.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.2348, allocations: 99.16 kB / 464.7 MB, free: 6.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.2349, allocations: 362.7 kB / 465 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.2352, allocations: 113.6 kB / 465.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.2354, allocations: 308 kB / 465.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.2359, allocations: 466.9 kB / 465.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2359, allocations: 1 kB / 465.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000809/0.2367, allocations: 0.517 MB / 466.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2368, allocations: 7.469 kB / 466.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.2368, allocations: 5.719 kB / 466.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.237, allocations: 40.89 kB / 466.5 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.2373, allocations: 126.3 kB / 466.6 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002715/0.2376, allocations: 0.5567 MB / 467.1 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.2378, allocations: 18.38 kB / 467.1 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.2379, allocations: 25.84 kB / 467.2 MB, free: 4.84 MB / 366.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.0002956/0.2382, allocations: 238.4 kB / 467.4 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.2383, allocations: 50.89 kB / 467.5 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006085/0.2389, allocations: 328.6 kB / 467.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2389, allocations: 4.828 kB / 467.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2389, allocations: 0 / 467.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2389, allocations: 1.875 kB / 467.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.2401, allocations: 0.8773 MB / 468.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2401, allocations: 1.844 kB / 468.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.2405, allocations: 80.92 kB / 468.7 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.2406, allocations: 30.66 kB / 468.8 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.2406, allocations: 13.78 kB / 468.8 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002073/0.2409, allocations: 0.5571 MB / 469.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2409, allocations: 2.156 kB / 469.3 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.2416, allocations: 0.5517 MB / 469.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.2416, allocations: 47.94 kB / 469.9 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.2417, allocations: 9.203 kB / 470 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2419, allocations: 12.05 kB / 470 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.2419, allocations: 26.08 kB / 470 MB, free: 2.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.242, allocations: 13.77 kB / 470 MB, free: 2.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.2422, allocations: 272.2 kB / 470.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2422, allocations: 0 / 470.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005971/0.2428, allocations: 127.7 kB / 470.4 MB, free: 2.824 MB / 366.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.0001519/0.243, allocations: 124.3 kB / 470.5 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000627/0.2436, allocations: 316.2 kB / 470.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2436, allocations: 448 / 470.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.2439, allocations: 139.8 kB / 471 MB, free: 2.566 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.2445, allocations: 81.39 kB / 471 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.2468, allocations: 1.45 MB / 472.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.2473, allocations: 367.4 kB / 472.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.2475, allocations: 66.7 kB / 472.9 MB, free: 1.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2476, allocations: 41.25 kB / 473 MB, free: 1.469 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2476, allocations: 0 / 473 MB, free: 1.469 MB / 366.1 MB Notification: Performance of Templates: time 0.01006/0.2577, allocations: 3.914 MB / 476.9 MB, free: 148 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.132763706147671]