Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 212.4 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.256/0.256, allocations: 46.94 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 79.88 kB / 0.4966 GB, free: 7.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3782, allocations: 66.08 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008076/0.3862, allocations: 5.132 MB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.3914, allocations: 2.251 MB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.3925, allocations: 59.5 kB / 0.5684 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006389/0.3932, allocations: 226 kB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.3937, allocations: 178.3 kB / 0.5688 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.395, allocations: 482.9 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.3965, allocations: 1.114 MB / 0.5704 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000747/0.3972, allocations: 405.8 kB / 0.5707 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006108/0.3978, allocations: 378.7 kB / 0.5711 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.3984, allocations: 338.1 kB / 0.5714 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3985, allocations: 99.94 kB / 0.5715 GB, free: 9.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.3988, allocations: 163.8 kB / 0.5717 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.399, allocations: 215.3 kB / 0.5719 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003843/0.3994, allocations: 374.1 kB / 0.5722 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.4009, allocations: 1.29 MB / 0.5735 GB, free: 7.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4009, allocations: 4 kB / 0.5735 GB, free: 7.242 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4009, allocations: 0 / 0.5735 GB, free: 7.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.401, allocations: 0 / 0.5735 GB, free: 7.242 MB / 414.1 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.001851/0.4028, allocations: 1.085 MB / 0.5746 GB, free: 6.125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4029, allocations: 12.03 kB / 0.5746 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.4031, allocations: 120.2 kB / 0.5747 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.4042, allocations: 0.5264 MB / 0.5752 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.4043, allocations: 69.94 kB / 0.5753 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4044, allocations: 95.95 kB / 0.5754 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.4061, allocations: 0.8853 MB / 0.5762 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.4061, allocations: 7.938 kB / 0.5762 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.4062, allocations: 36 kB / 0.5763 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.4062, allocations: 24 kB / 0.5763 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.4073, allocations: 0.5268 MB / 0.5768 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/0.4114, allocations: 3.205 MB / 0.5799 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.412, allocations: 211 kB / 0.5801 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.4121, allocations: 96.83 kB / 0.5802 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.4123, allocations: 15.98 kB / 0.5802 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4123, allocations: 38.56 kB / 0.5803 GB, free: 16 kB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.705e-06/0.4123, allocations: 0 / 0.5803 GB, free: 16 kB / 414.1 MB Notification: Performance of matching and sorting (n=35): time 0.002672/0.415, allocations: 1.158 MB / 0.5814 GB, free: 14.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.415, allocations: 59.39 kB / 0.5815 GB, free: 14.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.4155, allocations: 413.7 kB / 0.5819 GB, free: 14.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.4156, allocations: 29.7 kB / 0.5819 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.416, allocations: 483.5 kB / 0.5824 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.4161, allocations: 142.8 kB / 0.5825 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.4162, allocations: 106.2 kB / 0.5826 GB, free: 13.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.4165, allocations: 362.7 kB / 0.5829 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.4167, allocations: 117.2 kB / 0.583 GB, free: 13.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.4171, allocations: 311 kB / 0.5833 GB, free: 12.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.4178, allocations: 459.6 kB / 0.5838 GB, free: 12.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4179, allocations: 4 kB / 0.5838 GB, free: 12.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009527/0.4188, allocations: 0.5135 MB / 0.5843 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4188, allocations: 8 kB / 0.5843 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.4188, allocations: 12 kB / 0.5843 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.4191, allocations: 36.84 kB / 0.5843 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.4195, allocations: 123.8 kB / 0.5845 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005121/0.42, allocations: 0.564 MB / 0.585 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4202, allocations: 16 kB / 0.585 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.4202, allocations: 28 kB / 0.5851 GB, free: 10.8 MB / 430.1 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.000352/0.4206, allocations: 233.7 kB / 0.5853 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.402e-05/0.4207, allocations: 59.61 kB / 0.5853 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/0.4213, allocations: 319 kB / 0.5856 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.4213, allocations: 4 kB / 0.5856 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4213, allocations: 0 / 0.5856 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4213, allocations: 0 / 0.5856 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.423, allocations: 0.887 MB / 0.5865 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.423, allocations: 4 kB / 0.5865 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.4233, allocations: 79.89 kB / 0.5866 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.4235, allocations: 40.81 kB / 0.5866 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.4235, allocations: 11.98 kB / 0.5866 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004284/0.4239, allocations: 0.5446 MB / 0.5872 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4239, allocations: 3.984 kB / 0.5872 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/0.4248, allocations: 0.5642 MB / 0.5877 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.4249, allocations: 39.67 kB / 0.5878 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.4249, allocations: 11.98 kB / 0.5878 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.4251, allocations: 8 kB / 0.5878 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.4252, allocations: 31.98 kB / 0.5878 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.4252, allocations: 12 kB / 0.5878 GB, free: 7.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003702/0.4256, allocations: 275.1 kB / 0.5881 GB, free: 7.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4256, allocations: 0 / 0.5881 GB, free: 7.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006448/0.4262, allocations: 127.9 kB / 0.5882 GB, free: 7.434 MB / 430.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.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.0002149/0.4264, allocations: 123 kB / 0.5883 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008658/0.4273, allocations: 309.9 kB / 0.5886 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.4273, allocations: 4.375 kB / 0.5886 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.4276, allocations: 143.8 kB / 0.5888 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.4281, allocations: 80.95 kB / 0.5888 GB, free: 6.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.4311, allocations: 1.64 MB / 0.5904 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.4315, allocations: 368 kB / 0.5908 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.4317, allocations: 56.53 kB / 0.5908 GB, free: 4.656 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.433e-05/0.4318, allocations: 43.42 kB / 0.5909 GB, free: 4.613 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4318, allocations: 0 / 0.5909 GB, free: 4.613 MB / 430.1 MB Notification: Performance of Templates: time 0.01247/0.4443, allocations: 4.898 MB / 0.5957 GB, free: 15.79 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.350553270429373]