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.0008239/0.0008239, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002024, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007748/0.0007748, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001827, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9441/0.9441, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.132/1.076, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.272e-06/1.272e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.205e-05, allocations: 2.312 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.008597/0.008619, allocations: 5.253 MB / 227.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.01234, allocations: 2.134 MB / 229.4 MB, free: 8.629 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009141/0.01325, allocations: 51.56 kB / 229.4 MB, free: 8.578 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.0138, allocations: 218.1 kB / 229.6 MB, free: 8.363 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.01436, allocations: 178.3 kB / 229.8 MB, free: 8.188 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/0.01524, allocations: 391 kB / 230.2 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.01628, allocations: 1.036 MB / 231.2 MB, free: 6.766 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005713/0.01685, allocations: 409.5 kB / 231.6 MB, free: 6.34 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007739/0.01762, allocations: 0.5456 MB / 232.2 MB, free: 5.793 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.0181, allocations: 267.2 kB / 232.4 MB, free: 5.531 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.01827, allocations: 92 kB / 232.5 MB, free: 5.441 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.01859, allocations: 155.8 kB / 232.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.01876, allocations: 167.4 kB / 232.8 MB, free: 5.125 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.01905, allocations: 243.6 kB / 233.1 MB, free: 4.887 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.01992, allocations: 0.6304 MB / 233.7 MB, free: 4.254 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.01993, allocations: 0 / 233.7 MB, free: 4.254 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01993, allocations: 0 / 233.7 MB, free: 4.254 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.01996, allocations: 0 / 233.7 MB, free: 4.254 MB / 234.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.001418/0.02138, allocations: 1.115 MB / 234.8 MB, free: 3.109 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.02141, allocations: 16.03 kB / 234.8 MB, free: 3.094 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.02158, allocations: 132.8 kB / 235 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.02216, allocations: 381 kB / 235.3 MB, free: 2.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.02221, allocations: 66.38 kB / 235.4 MB, free: 2.508 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.02231, allocations: 92.34 kB / 235.5 MB, free: 2.418 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008157/0.02312, allocations: 0.666 MB / 236.2 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.02316, allocations: 16.11 kB / 236.2 MB, free: 1.676 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.02321, allocations: 32.38 kB / 236.2 MB, free: 1.645 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.02324, allocations: 23.94 kB / 236.2 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.02377, allocations: 220.5 kB / 236.4 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.02638, allocations: 2.167 MB / 238.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.02674, allocations: 151.1 kB / 238.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.0268, allocations: 44.84 kB / 238.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.187e-05/0.02688, allocations: 27.98 kB / 238.8 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.02691, allocations: 30.56 kB / 238.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/0.02691, allocations: 0 / 238.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.001472/0.02838, allocations: 0.8395 MB / 239.7 MB, free: 13.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.02841, allocations: 55.41 kB / 239.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.02861, allocations: 290.8 kB / 240 MB, free: 13.61 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.02863, allocations: 33.7 kB / 240.1 MB, free: 13.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.02881, allocations: 388.3 kB / 240.4 MB, free: 13.19 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/0.0289, allocations: 142.8 kB / 240.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.02901, allocations: 86.11 kB / 240.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.02913, allocations: 354.7 kB / 241 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.0292, allocations: 40.98 kB / 241.1 MB, free: 12.56 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.02936, allocations: 193.8 kB / 241.2 MB, free: 12.31 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.02967, allocations: 288.6 kB / 241.5 MB, free: 11.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.02968, allocations: 0 / 241.5 MB, free: 11.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004028/0.03008, allocations: 286.1 kB / 241.8 MB, free: 11.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.0301, allocations: 8 kB / 241.8 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.03011, allocations: 4 kB / 241.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.03027, allocations: 36.83 kB / 241.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.03063, allocations: 131.8 kB / 242 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003166/0.03095, allocations: 0.5288 MB / 242.5 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.03112, allocations: 16 kB / 242.5 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.03115, allocations: 16.19 kB / 242.5 MB, free: 10.91 MB / 250.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.0001476/0.0313, allocations: 148.5 kB / 242.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.03136, allocations: 36 kB / 242.7 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.03169, allocations: 202.3 kB / 242.9 MB, free: 10.51 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.03169, allocations: 7.938 kB / 242.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.03169, allocations: 0 / 242.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.0317, allocations: 3.984 kB / 242.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.03249, allocations: 0.567 MB / 243.5 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.03249, allocations: 4 kB / 243.5 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.03279, allocations: 105.8 kB / 243.6 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.03284, allocations: 31.7 kB / 243.6 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-05/0.03293, allocations: 24.84 kB / 243.7 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.03295, allocations: 11.98 kB / 243.7 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002175/0.03317, allocations: 0.5327 MB / 244.2 MB, free: 9.156 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.03317, allocations: 4.188 kB / 244.2 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.03351, allocations: 382.3 kB / 244.6 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.03355, allocations: 12 kB / 244.6 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.03366, allocations: 11.98 kB / 244.6 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.0337, allocations: 27.95 kB / 244.6 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.03372, allocations: 8 kB / 244.6 MB, free: 8.684 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.03383, allocations: 104.6 kB / 244.7 MB, free: 8.582 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-07/0.03383, allocations: 0 / 244.7 MB, free: 8.582 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004437/0.03427, allocations: 119.9 kB / 244.9 MB, free: 8.465 MB / 250.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.0001795/0.03445, allocations: 104.3 kB / 245 MB, free: 8.355 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.03482, allocations: 206.9 kB / 245.2 MB, free: 8.152 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.125e-05/0.03484, allocations: 11.98 kB / 245.2 MB, free: 8.141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.03502, allocations: 121.1 kB / 245.3 MB, free: 8.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.03565, allocations: 0.6663 MB / 246 MB, free: 7.234 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.04428, allocations: 1.369 MB / 247.3 MB, free: 5.812 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.04444, allocations: 169.7 kB / 247.5 MB, free: 5.625 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000197/0.04464, allocations: 43.39 kB / 247.5 MB, free: 5.578 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.04483, allocations: 119.3 kB / 247.7 MB, free: 5.461 MB / 250.7 MB Notification: Performance of SimCode: time 1.563e-06/0.04483, allocations: 0 / 247.7 MB, free: 5.461 MB / 250.7 MB Notification: Performance of Templates: time 0.01093/0.05576, allocations: 3.923 MB / 251.6 MB, free: 1.566 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6653009317815304]