Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.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.001296/0.001296, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001382/0.001382, allocations: 212.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.Rotational.Examples.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="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.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="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001995/0.001995, allocations: 67.89 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2183, allocations: 53.31 MB / 432 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007354/0.2257, allocations: 5.488 MB / 437.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.2292, allocations: 2.169 MB / 439.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.2295, allocations: 39.75 kB / 439.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.2299, allocations: 210.2 kB / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.2303, allocations: 174.4 kB / 440.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.2312, allocations: 422.8 kB / 440.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2322, allocations: 1.005 MB / 441.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006507/0.2329, allocations: 417.1 kB / 441.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.2333, allocations: 358.7 kB / 442.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.2337, allocations: 362.4 kB / 442.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.2339, allocations: 92 kB / 442.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.2341, allocations: 155.9 kB / 442.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.2343, allocations: 207.4 kB / 443.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003969/0.2347, allocations: 441.8 kB / 443.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.236, allocations: 1.192 MB / 444.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.236, allocations: 8 kB / 444.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.236, allocations: 0 / 444.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.236, allocations: 0 / 444.7 MB, free: 10.61 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001541/0.2375, allocations: 1.048 MB / 445.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2376, allocations: 12.03 kB / 445.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.2378, allocations: 100.4 kB / 445.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008301/0.2386, allocations: 0.5262 MB / 446.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.594e-05/0.2387, allocations: 58.38 kB / 446.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.2388, allocations: 96.27 kB / 446.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.2403, allocations: 0.8047 MB / 447.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.2403, allocations: 0 / 447.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.717e-05/0.2404, allocations: 36 kB / 447.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.2404, allocations: 24 kB / 447.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.2414, allocations: 0.4957 MB / 447.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/0.2449, allocations: 2.861 MB / 450.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.2455, allocations: 206.7 kB / 451 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.2457, allocations: 101.2 kB / 451.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.2459, allocations: 247.3 kB / 451.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.2459, allocations: 39.06 kB / 451.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.2459, allocations: 0 / 451.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002438/0.2484, allocations: 1.267 MB / 452.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2484, allocations: 59.41 kB / 452.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.2487, allocations: 313.6 kB / 453 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.2488, allocations: 33.64 kB / 453 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.2491, allocations: 407.7 kB / 453.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2492, allocations: 142.8 kB / 453.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.2493, allocations: 86.2 kB / 453.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2495, allocations: 358.7 kB / 454 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2497, allocations: 109.1 kB / 454.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.25, allocations: 246.6 kB / 454.3 MB, free: 460 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.2506, allocations: 400.8 kB / 454.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2506, allocations: 0 / 454.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007756/0.2514, allocations: 469.6 kB / 455.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2514, allocations: 4 kB / 455.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.2514, allocations: 8 kB / 455.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.2516, allocations: 32.84 kB / 455.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.2519, allocations: 111.8 kB / 455.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004242/0.2524, allocations: 0.5604 MB / 455.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.2525, allocations: 16 kB / 455.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.2526, allocations: 20 kB / 455.9 MB, free: 14.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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.0002676/0.2529, allocations: 217.6 kB / 456.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.2529, allocations: 39.77 kB / 456.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.2536, allocations: 322.3 kB / 456.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2536, allocations: 4 kB / 456.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2536, allocations: 0 / 456.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.2537, allocations: 108.9 kB / 456.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.2537, allocations: 8 kB / 456.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.2539, allocations: 4 kB / 456.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.2539, allocations: 27.83 kB / 456.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009329/0.2549, allocations: 421.4 kB / 457.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008218/0.2557, allocations: 0.5981 MB / 457.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001992/0.2559, allocations: 99.94 kB / 457.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.2561, allocations: 219.2 kB / 458 MB, free: 12.65 MB / 366.1 MB Notification: Performance of Backend: time 3.71e-07/0.2561, allocations: 0 / 458 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008446/0.2569, allocations: 327 kB / 458.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 0.002711/0.2597, allocations: 2.054 MB / 460.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01111/0.2708, allocations: 5.034 MB / 465.4 MB, free: 5.227 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.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.361985968891531]