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.006406/0.006406, allocations: 95.81 kB / 21.93 MB, free: 5.727 MB / 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.001551/0.001551, allocations: 214.8 kB / 25.22 MB, free: 3.285 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.698/1.698, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 48.22 kB / 348.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.344, allocations: 49.15 MB / 397.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.006373/0.3503, allocations: 4.81 MB / 402.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.355, allocations: 2.034 MB / 404.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.3565, allocations: 51.88 kB / 404.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008345/0.3574, allocations: 204.5 kB / 404.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.3584, allocations: 172.3 kB / 404.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.3602, allocations: 393.2 kB / 405.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.3622, allocations: 1.008 MB / 406.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007787/0.363, allocations: 392.8 kB / 406.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.3635, allocations: 347.3 kB / 407 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.3639, allocations: 318.7 kB / 407.3 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.3641, allocations: 91.84 kB / 407.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.3645, allocations: 148.1 kB / 407.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.3647, allocations: 206.8 kB / 407.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.365, allocations: 340.3 kB / 408.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.3667, allocations: 1.192 MB / 409.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3667, allocations: 5.375 kB / 409.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3667, allocations: 0 / 409.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3667, allocations: 0 / 409.3 MB, free: 2.523 MB / 318.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.001599/0.3683, allocations: 0.973 MB / 410.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3684, allocations: 14.19 kB / 410.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3685, allocations: 99.69 kB / 410.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.3693, allocations: 469.2 kB / 410.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/0.3694, allocations: 59.25 kB / 410.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3696, allocations: 95.8 kB / 410.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.371, allocations: 0.802 MB / 411.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.464e-05/0.371, allocations: 10.23 kB / 411.8 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.3711, allocations: 35.66 kB / 411.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.3711, allocations: 25.09 kB / 411.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009949/0.3721, allocations: 499.2 kB / 412.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.3756, allocations: 2.474 MB / 414.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.3763, allocations: 209.7 kB / 415 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.3765, allocations: 90.8 kB / 415.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.3766, allocations: 18.61 kB / 415.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.3767, allocations: 42.48 kB / 415.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.895e-06/0.3767, allocations: 0 / 415.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002759/0.3794, allocations: 1.132 MB / 416.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.3795, allocations: 59.25 kB / 416.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.3799, allocations: 306.2 kB / 416.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.3799, allocations: 30.8 kB / 416.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.3803, allocations: 410.6 kB / 417.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3804, allocations: 141.9 kB / 417.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3806, allocations: 88.3 kB / 417.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3808, allocations: 355.4 kB / 417.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.381, allocations: 106.3 kB / 417.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.3813, allocations: 248.6 kB / 418 MB, free: 12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006211/0.382, allocations: 386 kB / 418.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.382, allocations: 1.125 kB / 418.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008811/0.3828, allocations: 460.3 kB / 418.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3829, allocations: 6 kB / 418.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3829, allocations: 5.531 kB / 418.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.3831, allocations: 41.88 kB / 418.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.3835, allocations: 117.9 kB / 419 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004642/0.3839, allocations: 0.5543 MB / 419.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3841, allocations: 15.47 kB / 419.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.3842, allocations: 22.16 kB / 419.6 MB, free: 10.85 MB / 334.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.000352/0.3845, allocations: 217.5 kB / 419.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.3846, allocations: 37.89 kB / 419.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006778/0.3853, allocations: 331.4 kB / 420.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3853, allocations: 3.125 kB / 420.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3853, allocations: 3.938 kB / 420.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3853, allocations: 5.078 kB / 420.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.3868, allocations: 0.8361 MB / 421 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3868, allocations: 5.484 kB / 421 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/0.3871, allocations: 82.62 kB / 421.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.3873, allocations: 38.75 kB / 421.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.3873, allocations: 12.11 kB / 421.1 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003906/0.3877, allocations: 0.557 MB / 421.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3877, allocations: 2.75 kB / 421.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.3885, allocations: 0.5412 MB / 422.2 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.3886, allocations: 39.03 kB / 422.3 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.3886, allocations: 11.88 kB / 422.3 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.3888, allocations: 7.844 kB / 422.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.3888, allocations: 25.95 kB / 422.3 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.3889, allocations: 13.34 kB / 422.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.3891, allocations: 213.6 kB / 422.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3891, allocations: 0 / 422.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006039/0.3897, allocations: 119.7 kB / 422.6 MB, free: 8.617 MB / 334.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.0002485/0.39, allocations: 119.6 kB / 422.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006623/0.3906, allocations: 294.2 kB / 423 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3906, allocations: 1.125 kB / 423 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.3909, allocations: 135.2 kB / 423.2 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.3915, allocations: 77.89 kB / 423.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.3944, allocations: 1.629 MB / 424.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.3948, allocations: 332 kB / 425.2 MB, free: 6.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.3949, allocations: 33.34 kB / 425.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3949, allocations: 192 / 425.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of Templates: time 0.01447/0.4094, allocations: 10.17 MB / 435.4 MB, free: 12.79 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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: 8.42627533013001]