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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 75.83 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1041, allocations: 62.44 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006722/0.1109, allocations: 5.771 MB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004321/0.1153, allocations: 2.364 MB / 489.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006082/0.1159, allocations: 39.75 kB / 489.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.1164, allocations: 230 kB / 489.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.1169, allocations: 178.3 kB / 490 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1181, allocations: 474.9 kB / 490.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1192, allocations: 1.111 MB / 491.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007769/0.12, allocations: 0.6146 MB / 492.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.1204, allocations: 378.7 kB / 492.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.1208, allocations: 386 kB / 493 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.1209, allocations: 96 kB / 493.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.1212, allocations: 159.9 kB / 493.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1214, allocations: 215.3 kB / 493.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.1218, allocations: 469.6 kB / 493.9 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.1229, allocations: 1.265 MB / 495.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1229, allocations: 0 / 495.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1229, allocations: 0 / 495.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1229, allocations: 0 / 495.1 MB, free: 6.781 MB / 366.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.001451/0.1244, allocations: 1.142 MB / 496.3 MB, free: 5.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1244, allocations: 8.031 kB / 496.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.1247, allocations: 107.7 kB / 496.4 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.1256, allocations: 0.5943 MB / 497 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.1256, allocations: 74 kB / 497.1 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.1258, allocations: 91.91 kB / 497.2 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.1271, allocations: 0.8853 MB / 498 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.1272, allocations: 11.84 kB / 498.1 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.1272, allocations: 40 kB / 498.1 MB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.1273, allocations: 20 kB / 498.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009748/0.1282, allocations: 0.5307 MB / 498.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/0.1316, allocations: 3.596 MB / 0.4905 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.1321, allocations: 234.1 kB / 0.4907 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.1323, allocations: 109.3 kB / 0.4908 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.1325, allocations: 251.3 kB / 0.491 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1325, allocations: 34.56 kB / 0.4911 GB, free: 14.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.1325, allocations: 0 / 0.4911 GB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.002265/0.1348, allocations: 1.292 MB / 0.4923 GB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.1349, allocations: 63.33 kB / 0.4924 GB, free: 13.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.1353, allocations: 397.8 kB / 0.4928 GB, free: 12.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.1354, allocations: 33.7 kB / 0.4928 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.1356, allocations: 470.1 kB / 0.4932 GB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/0.1357, allocations: 138 kB / 0.4934 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1359, allocations: 102.2 kB / 0.4935 GB, free: 12.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.136, allocations: 366.7 kB / 0.4938 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.1362, allocations: 113.1 kB / 0.4939 GB, free: 11.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.1366, allocations: 306.2 kB / 0.4942 GB, free: 11.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.1371, allocations: 467.4 kB / 0.4947 GB, free: 10.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1372, allocations: 0 / 0.4947 GB, free: 10.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007475/0.1379, allocations: 0.5087 MB / 0.4952 GB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1379, allocations: 8.844 kB / 0.4952 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.138, allocations: 8 kB / 0.4952 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.1381, allocations: 36.84 kB / 0.4952 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1385, allocations: 127.8 kB / 0.4953 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003551/0.1389, allocations: 0.564 MB / 0.4959 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1391, allocations: 16 kB / 0.4959 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.1392, allocations: 24 kB / 0.4959 GB, free: 9.34 MB / 382.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.0002852/0.1394, allocations: 233.7 kB / 0.4962 GB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.1395, allocations: 51.28 kB / 0.4962 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005743/0.1401, allocations: 327 kB / 0.4965 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1401, allocations: 4 kB / 0.4965 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1401, allocations: 0 / 0.4965 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1401, allocations: 0 / 0.4965 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.1415, allocations: 1.055 MB / 0.4975 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1415, allocations: 0 / 0.4975 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.1419, allocations: 79.91 kB / 0.4976 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.142, allocations: 40.92 kB / 0.4977 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.142, allocations: 16 kB / 0.4977 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002936/0.1423, allocations: 0.5445 MB / 0.4982 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1423, allocations: 4.031 kB / 0.4982 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.1431, allocations: 0.5608 MB / 0.4988 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.1432, allocations: 124.5 kB / 0.4989 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.1432, allocations: 8 kB / 0.4989 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1434, allocations: 8 kB / 0.4989 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.1435, allocations: 35.94 kB / 0.4989 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.1435, allocations: 19.98 kB / 0.499 GB, free: 6.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002548/0.1437, allocations: 267.2 kB / 0.4992 GB, free: 5.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1438, allocations: 0 / 0.4992 GB, free: 5.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004808/0.1442, allocations: 128 kB / 0.4993 GB, free: 5.684 MB / 382.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.0001415/0.1444, allocations: 111.1 kB / 0.4994 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005834/0.145, allocations: 337.4 kB / 0.4998 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.145, allocations: 0 / 0.4998 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.1453, allocations: 156.1 kB / 0.4999 GB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.1458, allocations: 73.88 kB / 0.5 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.148, allocations: 1.603 MB / 0.5015 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.1486, allocations: 0.9638 MB / 0.5025 GB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.1487, allocations: 64.52 kB / 0.5025 GB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1488, allocations: 39.44 kB / 0.5026 GB, free: 2.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1489, allocations: 0 / 0.5026 GB, free: 2.27 MB / 382.1 MB Notification: Performance of Templates: time 0.1707/0.3196, allocations: 4.143 MB / 0.5066 GB, free: 40.72 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches