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.0009876/0.0009876, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009872/0.0009872, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9792/0.9792, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.3522/0.3522, allocations: 34.86 MB / 296.3 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] 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 2.805e-06/2.805e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.433e-05/3.713e-05, allocations: 2.875 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005775/0.005812, allocations: 5.604 MB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.00936, allocations: 2.298 MB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007856/0.01015, allocations: 55.5 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.01061, allocations: 234 kB / 386.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.01113, allocations: 194.1 kB / 387.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.01215, allocations: 478.6 kB / 387.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.01326, allocations: 1.141 MB / 388.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.01381, allocations: 401.9 kB / 389.1 MB, free: 7.656 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007748/0.01458, allocations: 0.5692 MB / 389.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.01498, allocations: 287.1 kB / 390 MB, free: 6.805 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004256/0.01541, allocations: 96 kB / 390.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.01567, allocations: 159.8 kB / 390.2 MB, free: 6.555 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.01581, allocations: 223.2 kB / 390.4 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.01608, allocations: 311.2 kB / 390.7 MB, free: 6.031 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.01708, allocations: 0.7432 MB / 391.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01708, allocations: 0 / 391.5 MB, free: 5.285 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.01709, allocations: 3.984 kB / 391.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.01711, allocations: 0 / 391.5 MB, free: 5.281 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.001164/0.01827, allocations: 1.185 MB / 392.7 MB, free: 4.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.01831, allocations: 8.031 kB / 392.7 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.01859, allocations: 184.3 kB / 392.9 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.01921, allocations: 0.5602 MB / 393.4 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.01925, allocations: 74.12 kB / 393.5 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.01934, allocations: 92 kB / 393.6 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009136/0.02025, allocations: 0.756 MB / 394.3 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.02029, allocations: 11.95 kB / 394.4 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.02034, allocations: 36 kB / 394.4 MB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.02036, allocations: 24 kB / 394.4 MB, free: 2.207 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.02086, allocations: 311.5 kB / 394.7 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.02376, allocations: 4.059 MB / 398.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.0242, allocations: 175.6 kB / 398.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.753e-05/0.02428, allocations: 67.59 kB / 399 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.02439, allocations: 15.98 kB / 399 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.02441, allocations: 45.33 kB / 399.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.02441, allocations: 0 / 399.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001504/0.02592, allocations: 1.014 MB / 400.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.02595, allocations: 59.34 kB / 400.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.02625, allocations: 438.5 kB / 400.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.02627, allocations: 33.7 kB / 400.6 MB, free: 11.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.0265, allocations: 0.5177 MB / 401.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.02657, allocations: 146.8 kB / 401.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.934e-05/0.02666, allocations: 99.95 kB / 401.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.02681, allocations: 0.5352 MB / 401.9 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.0269, allocations: 57.27 kB / 402 MB, free: 10.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.02713, allocations: 350.4 kB / 402.3 MB, free: 9.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.0275, allocations: 446.8 kB / 402.7 MB, free: 9.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.0275, allocations: 0 / 402.7 MB, free: 9.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004767/0.02798, allocations: 448.1 kB / 403.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.028, allocations: 8 kB / 403.2 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.02801, allocations: 4 kB / 403.2 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.02819, allocations: 43.66 kB / 403.2 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.02841, allocations: 120.5 kB / 403.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003683/0.02878, allocations: 0.8194 MB / 404.2 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.02891, allocations: 20.03 kB / 404.2 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.02894, allocations: 27.98 kB / 404.2 MB, free: 7.805 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.0001519/0.02909, allocations: 192.3 kB / 404.4 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.02915, allocations: 63.67 kB / 404.5 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.0295, allocations: 261.8 kB / 404.7 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.0295, allocations: 4 kB / 404.7 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.0295, allocations: 4.031 kB / 404.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02951, allocations: 4 kB / 404.7 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.03057, allocations: 0.8754 MB / 405.6 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.03057, allocations: 3.984 kB / 405.6 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.03077, allocations: 79.91 kB / 405.7 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.511e-05/0.03087, allocations: 31.67 kB / 405.7 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.03089, allocations: 15.92 kB / 405.7 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002853/0.03118, allocations: 0.8079 MB / 406.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.03118, allocations: 3.938 kB / 406.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.03161, allocations: 0.5146 MB / 407.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.03165, allocations: 43.61 kB / 407.1 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.03168, allocations: 8 kB / 407.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.03175, allocations: 15.98 kB / 407.1 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.0318, allocations: 23.89 kB / 407.1 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.03182, allocations: 12 kB / 407.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.03199, allocations: 287.1 kB / 407.4 MB, free: 4.406 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03199, allocations: 0 / 407.4 MB, free: 4.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.03236, allocations: 124 kB / 407.6 MB, free: 4.285 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.0001657/0.03252, allocations: 115.1 kB / 407.7 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004305/0.03295, allocations: 259.2 kB / 407.9 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.03296, allocations: 0 / 407.9 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.03309, allocations: 123.5 kB / 408 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.0335, allocations: 84.33 kB / 408.1 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.03542, allocations: 1.449 MB / 409.6 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.03553, allocations: 161.7 kB / 409.7 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.03565, allocations: 56.53 kB / 409.8 MB, free: 1.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.03572, allocations: 44.48 kB / 409.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03572, allocations: 0 / 409.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of Templates: time 0.008315/0.04404, allocations: 4.165 MB / 414 MB, free: 13.83 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",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.1092365751974285]