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.00195/0.00195, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.002233/0.002233, allocations: 161.9 kB / 25.02 MB, free: 8.434 MB / 18.57 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.405/1.405, allocations: 158.6 MB / 186.8 MB, free: 2.863 MB / 170.7 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 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.922e-05, allocations: 6.312 kB / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.007848/0.007877, allocations: 4.815 MB / 255.2 MB, free: 15.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004618/0.01249, allocations: 2.037 MB / 257.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006185/0.01311, allocations: 51.56 kB / 257.3 MB, free: 13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.01364, allocations: 210.2 kB / 257.5 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.01407, allocations: 174.3 kB / 257.6 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.01542, allocations: 399 kB / 258 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.01689, allocations: 1.04 MB / 259.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007819/0.01767, allocations: 393.5 kB / 259.5 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.0185, allocations: 0.5185 MB / 260 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.01891, allocations: 259.2 kB / 260.2 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.01905, allocations: 92 kB / 260.3 MB, free: 9.906 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003042/0.01935, allocations: 151.9 kB / 260.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.01957, allocations: 203.3 kB / 260.7 MB, free: 9.559 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003574/0.01993, allocations: 287.3 kB / 260.9 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.02142, allocations: 1.191 MB / 262.1 MB, free: 8.082 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.02143, allocations: 0 / 262.1 MB, free: 8.082 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02143, allocations: 0 / 262.1 MB, free: 8.082 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.02145, allocations: 4 kB / 262.1 MB, free: 8.078 MB / 250.7 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.00177/0.02322, allocations: 0.9687 MB / 263.1 MB, free: 7.078 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.02326, allocations: 15.97 kB / 263.1 MB, free: 7.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.02354, allocations: 160.4 kB / 263.3 MB, free: 6.906 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.02442, allocations: 483.5 kB / 263.8 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.0245, allocations: 62.38 kB / 263.8 MB, free: 6.348 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.02464, allocations: 84.38 kB / 263.9 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.02625, allocations: 0.8049 MB / 264.7 MB, free: 5.426 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.02628, allocations: 16.12 kB / 264.7 MB, free: 5.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/0.02636, allocations: 36.38 kB / 264.8 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.02639, allocations: 27.94 kB / 264.8 MB, free: 5.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.0277, allocations: 499.6 kB / 265.3 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.03134, allocations: 2.517 MB / 267.8 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.03195, allocations: 203.2 kB / 268 MB, free: 2.035 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.03215, allocations: 92.77 kB / 268.1 MB, free: 1.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.03229, allocations: 23.98 kB / 268.1 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.03233, allocations: 38.5 kB / 268.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.03233, allocations: 0 / 268.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.002653/0.03498, allocations: 1.138 MB / 269.3 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.03504, allocations: 59.39 kB / 269.3 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.03544, allocations: 304.5 kB / 269.6 MB, free: 304 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.03548, allocations: 33.7 kB / 269.7 MB, free: 264 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.03584, allocations: 411.7 kB / 270.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.03598, allocations: 138.8 kB / 270.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.03613, allocations: 82.19 kB / 270.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.03635, allocations: 350.8 kB / 270.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.03658, allocations: 108.9 kB / 270.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.03694, allocations: 246.1 kB / 271 MB, free: 14.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006259/0.03757, allocations: 388.7 kB / 271.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.03757, allocations: 3.938 kB / 271.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008535/0.03843, allocations: 489 kB / 271.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.03845, allocations: 11.98 kB / 271.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.03846, allocations: 4 kB / 271.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004596/0.03892, allocations: 41.42 kB / 271.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.03929, allocations: 111.8 kB / 272 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005042/0.0398, allocations: 0.5524 MB / 272.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.03998, allocations: 19.94 kB / 272.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.04004, allocations: 27.98 kB / 272.6 MB, free: 13.14 MB / 266.7 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.0003009/0.04034, allocations: 217.7 kB / 272.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.04043, allocations: 51.75 kB / 272.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006952/0.04112, allocations: 325 kB / 273.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.04113, allocations: 4 kB / 273.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.04114, allocations: 3.938 kB / 273.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.04114, allocations: 0 / 273.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.0426, allocations: 0.8515 MB / 274 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.0426, allocations: 0 / 274 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.04298, allocations: 79.89 kB / 274.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001321/0.04311, allocations: 40.94 kB / 274.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.04314, allocations: 8 kB / 274.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004496/0.04359, allocations: 0.5446 MB / 274.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.0436, allocations: 3.938 kB / 274.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/0.04451, allocations: 0.5567 MB / 275.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.04457, allocations: 35.77 kB / 275.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.04462, allocations: 11.94 kB / 275.3 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.04477, allocations: 8 kB / 275.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.04485, allocations: 32.05 kB / 275.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.04487, allocations: 12 kB / 275.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002568/0.04513, allocations: 211.1 kB / 275.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04513, allocations: 0 / 275.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005377/0.04567, allocations: 123.9 kB / 275.7 MB, free: 9.906 MB / 266.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.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.0002266/0.04589, allocations: 115.2 kB / 275.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006565/0.04655, allocations: 287.9 kB / 276.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.04655, allocations: 4 kB / 276.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.04685, allocations: 135.7 kB / 276.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.04738, allocations: 86.66 kB / 276.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.0499, allocations: 1.385 MB / 277.7 MB, free: 7.848 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.0503, allocations: 329.6 kB / 278 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.05046, allocations: 49.58 kB / 278.1 MB, free: 7.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.05054, allocations: 32.5 kB / 278.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.05054, allocations: 0 / 278.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of Templates: time 0.009917/0.06045, allocations: 3.54 MB / 281.6 MB, free: 3.914 MB / 266.7 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.37817748892121]