Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.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.001403/0.001403, allocations: 96.2 kB / 20.21 MB, free: 4.199 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.001452/0.001452, allocations: 157.3 kB / 23.51 MB, free: 0.8984 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.505/1.505, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2369/0.2369, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Rotational.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="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.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="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 346.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.03e-05, allocations: 2.312 kB / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005646/0.005676, allocations: 5.14 MB / 352 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003727/0.009403, allocations: 2.232 MB / 354.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.01013, allocations: 51.56 kB / 354.3 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.01063, allocations: 233.9 kB / 354.6 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.01102, allocations: 186.1 kB / 354.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009824/0.012, allocations: 474.7 kB / 355.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007366/0.01274, allocations: 1.133 MB / 356.3 MB, free: 368 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005618/0.0133, allocations: 398 kB / 356.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.01403, allocations: 0.5536 MB / 357.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.01445, allocations: 275.1 kB / 357.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.01458, allocations: 96 kB / 357.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.01487, allocations: 155.8 kB / 357.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.01513, allocations: 219.2 kB / 358 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.01548, allocations: 307.3 kB / 358.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.01717, allocations: 1.281 MB / 359.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.01718, allocations: 4 kB / 359.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01718, allocations: 0 / 359.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.01719, allocations: 0 / 359.6 MB, free: 13.07 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001793/0.01898, allocations: 1.07 MB / 360.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.01902, allocations: 8.031 kB / 360.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.01932, allocations: 188.3 kB / 360.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.02039, allocations: 0.5575 MB / 361.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.403e-05/0.02049, allocations: 78 kB / 361.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.02064, allocations: 95.95 kB / 361.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.02236, allocations: 0.8814 MB / 362.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.0224, allocations: 11.89 kB / 362.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.899e-05/0.02248, allocations: 40 kB / 362.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.02251, allocations: 24 kB / 362.5 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.02363, allocations: 0.519 MB / 363.1 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/0.02795, allocations: 3.233 MB / 366.3 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.02857, allocations: 211.2 kB / 366.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.02877, allocations: 96.81 kB / 366.6 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.0289, allocations: 23.97 kB / 366.6 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.02895, allocations: 42.5 kB / 366.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.02895, allocations: 0 / 366.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002721/0.03167, allocations: 1.161 MB / 367.8 MB, free: 4.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.03173, allocations: 55.41 kB / 367.9 MB, free: 4.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.03226, allocations: 413.7 kB / 368.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.0323, allocations: 33.7 kB / 368.3 MB, free: 3.996 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.03271, allocations: 475.5 kB / 368.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.03285, allocations: 154.7 kB / 368.9 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.03303, allocations: 90.31 kB / 369 MB, free: 3.277 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.03327, allocations: 370.7 kB / 369.4 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.0335, allocations: 109.3 kB / 369.5 MB, free: 2.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.03396, allocations: 312.2 kB / 369.8 MB, free: 2.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.0347, allocations: 452.5 kB / 370.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.03471, allocations: 3.984 kB / 370.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001027/0.03573, allocations: 0.5367 MB / 370.8 MB, free: 1.328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.03576, allocations: 8 kB / 370.8 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.03579, allocations: 11.98 kB / 370.8 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/0.03605, allocations: 36.84 kB / 370.8 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.0365, allocations: 123.8 kB / 370.9 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005732/0.03707, allocations: 0.5601 MB / 371.5 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.03728, allocations: 20 kB / 371.5 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.03733, allocations: 24.28 kB / 371.5 MB, free: 0.5195 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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.0003661/0.03769, allocations: 233.6 kB / 371.8 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.03784, allocations: 71.61 kB / 371.8 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.03855, allocations: 330.8 kB / 372.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.03855, allocations: 7.938 kB / 372.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.03856, allocations: 3.984 kB / 372.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.03856, allocations: 0 / 372.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.04029, allocations: 0.8821 MB / 373.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.0403, allocations: 4 kB / 373.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.04068, allocations: 79.89 kB / 373.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001518/0.04083, allocations: 32.84 kB / 373.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.04085, allocations: 8 kB / 373.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004449/0.0413, allocations: 0.5523 MB / 373.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.0413, allocations: 4.25 kB / 373.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.04222, allocations: 0.5684 MB / 374.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.04229, allocations: 43.61 kB / 374.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.04234, allocations: 8 kB / 374.4 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.0425, allocations: 12 kB / 374.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.04258, allocations: 27.98 kB / 374.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.04261, allocations: 16.08 kB / 374.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003469/0.04296, allocations: 267.2 kB / 374.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04296, allocations: 0 / 374.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005979/0.04356, allocations: 131.9 kB / 374.8 MB, free: 13.12 MB / 314.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.y,inertia2b.w,torqueToAngle2b.y,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.0002285/0.04378, allocations: 119.2 kB / 374.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007755/0.04456, allocations: 309 kB / 375.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04456, allocations: 4.062 kB / 375.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.04494, allocations: 135.7 kB / 375.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.04561, allocations: 84.12 kB / 375.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.04912, allocations: 1.488 MB / 376.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.04969, allocations: 363.8 kB / 377.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.04994, allocations: 68.45 kB / 377.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.05007, allocations: 40.5 kB / 377.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.253e-06/0.05007, allocations: 0 / 377.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of Templates: time 0.0118/0.06187, allocations: 3.951 MB / 381.3 MB, free: 6.562 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.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: 5.047507109004073]