Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.002403/0.002403, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002513/0.002513, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3458/0.3458, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 375.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.855e-05, allocations: 2.312 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008721/0.008749, allocations: 5.54 MB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.01344, allocations: 2.286 MB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006133/0.01405, allocations: 51.56 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.0146, allocations: 237.9 kB / 383.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004449/0.01505, allocations: 190.1 kB / 383.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.01615, allocations: 482.7 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.01768, allocations: 1.134 MB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006885/0.01837, allocations: 397.9 kB / 385.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008103/0.01918, allocations: 0.5691 MB / 386.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.01961, allocations: 287.1 kB / 386.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.01975, allocations: 96 kB / 386.5 MB, free: 9.684 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.02004, allocations: 155.8 kB / 386.6 MB, free: 9.531 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.02027, allocations: 223.2 kB / 386.8 MB, free: 9.312 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003698/0.02064, allocations: 311.2 kB / 387.2 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.02217, allocations: 1.293 MB / 388.4 MB, free: 7.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.02218, allocations: 0 / 388.4 MB, free: 7.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02218, allocations: 0 / 388.4 MB, free: 7.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.02219, allocations: 0 / 388.4 MB, free: 7.711 MB / 362.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.001905/0.0241, allocations: 1.255 MB / 389.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.02414, allocations: 16.02 kB / 389.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.02452, allocations: 192.2 kB / 389.9 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.02554, allocations: 0.5603 MB / 390.5 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.02561, allocations: 70.12 kB / 390.5 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.02576, allocations: 92 kB / 390.6 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.02744, allocations: 0.9467 MB / 391.6 MB, free: 4.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.02749, allocations: 15.88 kB / 391.6 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.02756, allocations: 36 kB / 391.6 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/0.02759, allocations: 24 kB / 391.6 MB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009997/0.02859, allocations: 463.6 kB / 392.1 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.03388, allocations: 4.442 MB / 396.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.03449, allocations: 211.7 kB / 396.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.03468, allocations: 96.14 kB / 396.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.0348, allocations: 19.98 kB / 396.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.03485, allocations: 45.33 kB / 396.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/0.03485, allocations: 0 / 396.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002603/0.03745, allocations: 1.19 MB / 398.1 MB, free: 13.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.0375, allocations: 55.41 kB / 398.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006668/0.03817, allocations: 0.5376 MB / 398.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.03821, allocations: 29.7 kB / 398.7 MB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/0.03867, allocations: 0.5451 MB / 399.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007581/0.03943, allocations: 146.9 kB / 399.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.0396, allocations: 124 kB / 399.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003455/0.03995, allocations: 0.5625 MB / 400.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.04018, allocations: 105.3 kB / 400.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.04066, allocations: 402.4 kB / 400.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.04144, allocations: 0.5387 MB / 401.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.04145, allocations: 4 kB / 401.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009521/0.0424, allocations: 0.532 MB / 401.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.04243, allocations: 12.16 kB / 401.7 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.04244, allocations: 4 kB / 401.7 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.04266, allocations: 39.67 kB / 401.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.04308, allocations: 131.8 kB / 401.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000688/0.04376, allocations: 0.835 MB / 402.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.04397, allocations: 16 kB / 402.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.04402, allocations: 28 kB / 402.7 MB, free: 8.688 MB / 378.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.0003476/0.04437, allocations: 252.4 kB / 403 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.04447, allocations: 71.7 kB / 403 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.04515, allocations: 333.9 kB / 403.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.04516, allocations: 4 kB / 403.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.04516, allocations: 0 / 403.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.04517, allocations: 0 / 403.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.04695, allocations: 1.137 MB / 404.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.04695, allocations: 7.938 kB / 404.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.04732, allocations: 75.91 kB / 404.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.04746, allocations: 39.66 kB / 404.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.04749, allocations: 8 kB / 404.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005999/0.04809, allocations: 0.8233 MB / 405.5 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.04809, allocations: 4 kB / 405.5 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/0.04904, allocations: 0.6322 MB / 406.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.04912, allocations: 39.66 kB / 406.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.04917, allocations: 8 kB / 406.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.04932, allocations: 8 kB / 406.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.445e-05/0.04939, allocations: 27.95 kB / 406.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.04942, allocations: 15.98 kB / 406.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006533/0.05008, allocations: 335 kB / 406.5 MB, free: 4.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.05008, allocations: 0 / 406.5 MB, free: 4.719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005802/0.05066, allocations: 128 kB / 406.6 MB, free: 4.594 MB / 378.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.0001925/0.05085, allocations: 119.1 kB / 406.8 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000739/0.05159, allocations: 362.1 kB / 407.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.05159, allocations: 0 / 407.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.0519, allocations: 152.6 kB / 407.3 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.05244, allocations: 85.88 kB / 407.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.05503, allocations: 1.507 MB / 408.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.05547, allocations: 360.1 kB / 409.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000188/0.05565, allocations: 68.47 kB / 409.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.05575, allocations: 44.48 kB / 409.3 MB, free: 1.812 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.05575, allocations: 0 / 409.3 MB, free: 1.812 MB / 378.7 MB Notification: Performance of Templates: time 0.01093/0.06668, allocations: 3.945 MB / 413.3 MB, free: 13.94 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.062886347062886]