Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001697/0.001697, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002018/0.002018, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.49/1.49, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 63.89 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2278, allocations: 53.41 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007222/0.235, allocations: 4.838 MB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.239, allocations: 2.06 MB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007573/0.2398, allocations: 47.62 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.2403, allocations: 206.2 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.2408, allocations: 174.4 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009405/0.2417, allocations: 407.1 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.2429, allocations: 1.005 MB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.2435, allocations: 401.4 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.244, allocations: 354.8 kB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.2444, allocations: 314.3 kB / 442.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.2445, allocations: 95.98 kB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.2448, allocations: 155.9 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.245, allocations: 195.4 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.2453, allocations: 350.5 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.2466, allocations: 1.209 MB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2466, allocations: 0 / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2466, allocations: 0 / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.2466, allocations: 4 kB / 444.1 MB, free: 10.68 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.001505/0.2481, allocations: 0.9764 MB / 445.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2482, allocations: 15.98 kB / 445.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.2484, allocations: 96.38 kB / 445.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000862/0.2493, allocations: 464.3 kB / 445.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.2493, allocations: 66.38 kB / 445.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.2495, allocations: 88.33 kB / 445.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.2509, allocations: 0.8047 MB / 446.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.2509, allocations: 7.984 kB / 446.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.251, allocations: 39.94 kB / 446.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.251, allocations: 20 kB / 446.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.2521, allocations: 0.4918 MB / 447.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.2553, allocations: 2.481 MB / 449.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.2558, allocations: 206.7 kB / 449.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.256, allocations: 92.81 kB / 450 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.2561, allocations: 19.98 kB / 450 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.2561, allocations: 39 kB / 450 MB, free: 4.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.2561, allocations: 0 / 450 MB, free: 4.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00241/0.2585, allocations: 1.128 MB / 451.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.2586, allocations: 55.41 kB / 451.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.259, allocations: 317.6 kB / 451.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.259, allocations: 29.7 kB / 451.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.2593, allocations: 407.7 kB / 451.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.2594, allocations: 142.8 kB / 452.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.2595, allocations: 90.14 kB / 452.2 MB, free: 2.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2597, allocations: 350.7 kB / 452.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.2599, allocations: 109 kB / 452.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.2603, allocations: 250.1 kB / 452.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/0.2609, allocations: 396.6 kB / 453.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.2609, allocations: 4 kB / 453.3 MB, free: 1.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007708/0.2616, allocations: 457.3 kB / 453.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.2617, allocations: 12.58 kB / 453.7 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.2617, allocations: 8 kB / 453.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.2619, allocations: 36.84 kB / 453.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.2622, allocations: 107.8 kB / 453.9 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004565/0.2627, allocations: 0.5601 MB / 454.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.2628, allocations: 12 kB / 454.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.2629, allocations: 27.98 kB / 454.5 MB, free: 15.86 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.0002904/0.2632, allocations: 213.7 kB / 454.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.2633, allocations: 43.75 kB / 454.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/0.2639, allocations: 329.4 kB / 455 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2639, allocations: 11.97 kB / 455.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2639, allocations: 0 / 455.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2639, allocations: 0 / 455.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.2653, allocations: 0.8363 MB / 455.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2653, allocations: 12.16 kB / 455.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.2656, allocations: 79.89 kB / 456 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.2658, allocations: 28.84 kB / 456 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.2658, allocations: 16 kB / 456 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000393/0.2662, allocations: 0.5523 MB / 456.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2662, allocations: 3.984 kB / 456.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008308/0.267, allocations: 0.5485 MB / 457.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.2671, allocations: 35.77 kB / 457.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.2671, allocations: 8 kB / 457.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.2673, allocations: 8 kB / 457.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.2673, allocations: 31.98 kB / 457.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.2674, allocations: 12 kB / 457.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.2676, allocations: 215.2 kB / 457.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2676, allocations: 0 / 457.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004906/0.2681, allocations: 120 kB / 457.5 MB, free: 12.65 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.phi,inertia2b.w,torqueToAngle2b.phi,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.0001833/0.2683, allocations: 127.1 kB / 457.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006069/0.2689, allocations: 287.9 kB / 458 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2689, allocations: 4 kB / 458 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.2691, allocations: 133.2 kB / 458.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.2696, allocations: 68.41 kB / 458.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.2723, allocations: 1.654 MB / 459.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.2726, allocations: 325.6 kB / 460.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.2727, allocations: 35.42 kB / 460.2 MB, free: 9.961 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2727, allocations: 192 / 460.2 MB, free: 9.961 MB / 366.1 MB Notification: Performance of Templates: time 0.01392/0.2866, allocations: 10.19 MB / 470.3 MB, free: 15.78 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.026774313300848]