Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.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.001664/0.001664, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 14.72 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.001731/0.001731, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 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.36/1.36, allocations: 158.6 MB / 186.5 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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(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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.048e-05, allocations: 2.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007084/0.007115, allocations: 4.807 MB / 303.8 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.01123, allocations: 2.037 MB / 305.8 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.01225, allocations: 55.56 kB / 305.8 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.01291, allocations: 202.2 kB / 306 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006546/0.01357, allocations: 182.3 kB / 306.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.01479, allocations: 391 kB / 306.6 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.01655, allocations: 1.044 MB / 307.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000903/0.01745, allocations: 393.5 kB / 308 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.01852, allocations: 0.5224 MB / 308.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/0.01907, allocations: 255.2 kB / 308.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.01925, allocations: 92 kB / 308.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.01966, allocations: 155.8 kB / 309 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.01993, allocations: 207.3 kB / 309.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005063/0.02043, allocations: 287.3 kB / 309.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.02247, allocations: 1.195 MB / 310.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.02248, allocations: 0 / 310.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.02248, allocations: 0 / 310.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.86e-05/0.02254, allocations: 0 / 310.7 MB, free: 12.87 MB / 302.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.002797/0.02534, allocations: 0.9687 MB / 311.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.284e-05/0.02541, allocations: 15.98 kB / 311.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/0.02576, allocations: 92.36 kB / 311.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.02701, allocations: 463.5 kB / 312.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/0.02709, allocations: 62.38 kB / 312.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.02726, allocations: 88.33 kB / 312.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.029, allocations: 0.8011 MB / 313.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.186e-05/0.02904, allocations: 4.188 kB / 313.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.02912, allocations: 40.36 kB / 313.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.02915, allocations: 27.94 kB / 313.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.03032, allocations: 0.4918 MB / 313.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.03417, allocations: 2.47 MB / 316.2 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.03485, allocations: 207.2 kB / 316.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.03506, allocations: 92.77 kB / 316.5 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.0352, allocations: 27.98 kB / 316.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.03524, allocations: 34.55 kB / 316.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 2.384e-06/0.03524, allocations: 0 / 316.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002799/0.03804, allocations: 1.122 MB / 317.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.0381, allocations: 55.41 kB / 317.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.03849, allocations: 312.4 kB / 318.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.03852, allocations: 33.7 kB / 318.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.03882, allocations: 411.7 kB / 318.5 MB, free: 4.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.03894, allocations: 138.8 kB / 318.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.03907, allocations: 86.19 kB / 318.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.03925, allocations: 350.7 kB / 319.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.03947, allocations: 105 kB / 319.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.03986, allocations: 254.1 kB / 319.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.04052, allocations: 392.6 kB / 319.8 MB, free: 3.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.04053, allocations: 7.938 kB / 319.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007865/0.04131, allocations: 457.3 kB / 320.2 MB, free: 2.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.04134, allocations: 10.97 kB / 320.3 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.04136, allocations: 4 kB / 320.3 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.0416, allocations: 36.78 kB / 320.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.04199, allocations: 107.9 kB / 320.4 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005089/0.04249, allocations: 0.549 MB / 321 MB, free: 2.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.0427, allocations: 27.98 kB / 321 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.04275, allocations: 27.98 kB / 321 MB, free: 2.094 MB / 302.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.000401/0.04315, allocations: 221.6 kB / 321.2 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.04323, allocations: 39.72 kB / 321.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007029/0.04394, allocations: 318.2 kB / 321.6 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.04394, allocations: 8.031 kB / 321.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.04395, allocations: 3.938 kB / 321.6 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.04396, allocations: 8 kB / 321.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.04544, allocations: 0.8473 MB / 322.4 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.04544, allocations: 0 / 322.4 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.04582, allocations: 79.89 kB / 322.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.04596, allocations: 32.84 kB / 322.6 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.04599, allocations: 8 kB / 322.6 MB, free: 472 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1657/0.2117, allocations: 0.55 MB / 323.1 MB, free: 33.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.2117, allocations: 7.062 kB / 323.1 MB, free: 33.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.2131, allocations: 0.5318 MB / 323.6 MB, free: 33.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.2132, allocations: 30.66 kB / 323.7 MB, free: 33.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.2133, allocations: 14.94 kB / 323.7 MB, free: 33.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.2134, allocations: 8.594 kB / 323.7 MB, free: 33.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2136, allocations: 27.48 kB / 323.7 MB, free: 33.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.2136, allocations: 10.94 kB / 323.7 MB, free: 33.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003462/0.2139, allocations: 213.1 kB / 323.9 MB, free: 33.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2139, allocations: 1.062 kB / 323.9 MB, free: 33.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007414/0.2147, allocations: 121.1 kB / 324.1 MB, free: 33.3 MB / 302.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.0002541/0.2149, allocations: 117.4 kB / 324.2 MB, free: 33.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007772/0.2157, allocations: 294.4 kB / 324.5 MB, free: 33.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2157, allocations: 0 / 324.5 MB, free: 33.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.216, allocations: 134.8 kB / 324.6 MB, free: 33.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.2166, allocations: 78.73 kB / 324.7 MB, free: 33.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.2189, allocations: 1.376 MB / 326.1 MB, free: 32.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.2193, allocations: 329.7 kB / 326.4 MB, free: 32.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.2194, allocations: 47.41 kB / 326.4 MB, free: 32.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.2195, allocations: 30.97 kB / 326.5 MB, free: 32.21 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2195, allocations: 5.125 kB / 326.5 MB, free: 32.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01145/0.231, allocations: 3.51 MB / 330 MB, free: 31.66 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.525009129196405]