Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001177/0.001177, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0021/0.0021, allocations: 161 kB / 24.56 MB, free: 16 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.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3032/0.3032, allocations: 34.26 MB / 295.7 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 3.938 kB / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.943e-05/4.156e-05, allocations: 5.547 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008/0.008041, allocations: 5.604 MB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004771/0.01281, allocations: 2.305 MB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009514/0.01376, allocations: 59.5 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.01435, allocations: 226 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.01492, allocations: 194.1 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.01623, allocations: 470.7 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.01757, allocations: 1.141 MB / 388 MB, free: 8.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007205/0.01829, allocations: 401.9 kB / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.01938, allocations: 0.5653 MB / 388.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.01983, allocations: 283.1 kB / 389.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001545/0.01998, allocations: 96 kB / 389.3 MB, free: 7.309 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.02029, allocations: 163.8 kB / 389.5 MB, free: 7.148 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.02048, allocations: 227.2 kB / 389.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.02081, allocations: 303.3 kB / 390 MB, free: 6.629 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.02184, allocations: 0.7471 MB / 390.7 MB, free: 5.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.02185, allocations: 0 / 390.7 MB, free: 5.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.02185, allocations: 4 kB / 390.7 MB, free: 5.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.02187, allocations: 0 / 390.7 MB, free: 5.875 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.00138/0.02325, allocations: 1.181 MB / 391.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.02329, allocations: 8.031 kB / 391.9 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.02355, allocations: 188.3 kB / 392.1 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.02415, allocations: 0.568 MB / 392.7 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.02419, allocations: 74.12 kB / 392.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.02428, allocations: 92 kB / 392.8 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008576/0.02514, allocations: 0.7483 MB / 393.6 MB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.02517, allocations: 15.89 kB / 393.6 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.02521, allocations: 36 kB / 393.6 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.02523, allocations: 31.97 kB / 393.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.02573, allocations: 315.5 kB / 394 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.02849, allocations: 4.055 MB / 398 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.02889, allocations: 171.6 kB / 398.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.02898, allocations: 68.09 kB / 398.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.02909, allocations: 19.98 kB / 398.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.02912, allocations: 45.31 kB / 398.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.315e-06/0.02912, allocations: 0 / 398.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001477/0.0306, allocations: 1.002 MB / 399.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.03063, allocations: 55.41 kB / 399.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.03095, allocations: 446.5 kB / 399.8 MB, free: 12.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.03097, allocations: 29.7 kB / 399.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.03122, allocations: 0.5255 MB / 400.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.0313, allocations: 142.8 kB / 400.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.0314, allocations: 99.95 kB / 400.6 MB, free: 11.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.03156, allocations: 0.5312 MB / 401.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.71e-05/0.03165, allocations: 69.27 kB / 401.2 MB, free: 10.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.03189, allocations: 338.4 kB / 401.5 MB, free: 10.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.03223, allocations: 442.8 kB / 402 MB, free: 9.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.03223, allocations: 0 / 402 MB, free: 9.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004717/0.03271, allocations: 455.8 kB / 402.4 MB, free: 9.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.03273, allocations: 10.03 kB / 402.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.03274, allocations: 8 kB / 402.4 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.0329, allocations: 36.48 kB / 402.5 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.03314, allocations: 127.8 kB / 402.6 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006061/0.03374, allocations: 0.8155 MB / 403.4 MB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.03386, allocations: 16 kB / 403.4 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.0339, allocations: 27.94 kB / 403.5 MB, free: 8.395 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.00016/0.03406, allocations: 196.4 kB / 403.7 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.03411, allocations: 63.61 kB / 403.7 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.0345, allocations: 266 kB / 404 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.03451, allocations: 8.031 kB / 404 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.03451, allocations: 0 / 404 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.03452, allocations: 3.984 kB / 404 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.03539, allocations: 0.8754 MB / 404.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.0354, allocations: 4 kB / 404.9 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.0356, allocations: 75.89 kB / 404.9 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.526e-05/0.0357, allocations: 31.67 kB / 405 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.03572, allocations: 12.16 kB / 405 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002732/0.03599, allocations: 0.8117 MB / 405.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.03599, allocations: 0 / 405.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.03642, allocations: 0.5227 MB / 406.3 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.03646, allocations: 43.61 kB / 406.4 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.03649, allocations: 8 kB / 406.4 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.03657, allocations: 8 kB / 406.4 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.03664, allocations: 27.89 kB / 406.4 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.03666, allocations: 20.03 kB / 406.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.03683, allocations: 283 kB / 406.7 MB, free: 4.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03683, allocations: 0 / 406.7 MB, free: 4.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000349/0.03718, allocations: 124 kB / 406.8 MB, free: 4.863 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.0001528/0.03733, allocations: 118.1 kB / 406.9 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.03772, allocations: 265.8 kB / 407.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.03772, allocations: 0 / 407.2 MB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.03785, allocations: 116 kB / 407.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.03821, allocations: 75 kB / 407.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.03996, allocations: 1.459 MB / 408.8 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.796e-05/0.04006, allocations: 157.7 kB / 409 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.04017, allocations: 60.48 kB / 409.1 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.04024, allocations: 40.48 kB / 409.1 MB, free: 2.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.512e-06/0.04024, allocations: 0 / 409.1 MB, free: 2.504 MB / 378.7 MB Notification: Performance of Templates: time 0.007831/0.04807, allocations: 3.95 MB / 413 MB, free: 14.62 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4866794920526445]