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.0007917/0.0007916, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009015/0.0009015, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.11/1.11, allocations: 227.7 MB / 246.8 MB, free: 9.449 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1604/0.1604, allocations: 46.19 MB / 345.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002031/0.0002031, allocations: 11.98 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08496, allocations: 63.56 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.004765/0.08977, allocations: 5.288 MB / 488.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.09234, allocations: 2.286 MB / 490.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.09263, allocations: 39.75 kB / 490.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.09295, allocations: 178.7 kB / 490.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.09322, allocations: 150.7 kB / 491 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.09386, allocations: 395.4 kB / 491.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007944/0.09466, allocations: 1.052 MB / 492.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/0.09529, allocations: 0.5439 MB / 493 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.09556, allocations: 266.7 kB / 493.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.09583, allocations: 298.2 kB / 493.5 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.09589, allocations: 35.94 kB / 493.6 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.09606, allocations: 95.97 kB / 493.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.09618, allocations: 143.3 kB / 493.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.09645, allocations: 411.3 kB / 494.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.09724, allocations: 1.129 MB / 495.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.09725, allocations: 0 / 495.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09725, allocations: 0 / 495.3 MB, free: 7.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.09727, allocations: 0 / 495.3 MB, free: 7.777 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.001053/0.09832, allocations: 0.9707 MB / 496.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.09836, allocations: 8.875 kB / 496.3 MB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.09857, allocations: 115.7 kB / 496.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/0.09919, allocations: 0.5709 MB / 497 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.09925, allocations: 66 kB / 497.1 MB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.914e-05/0.09935, allocations: 95.94 kB / 497.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.1006, allocations: 0.8892 MB / 498 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.1006, allocations: 11.84 kB / 498.1 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.1007, allocations: 40 kB / 498.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.1007, allocations: 24 kB / 498.1 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.1016, allocations: 0.5268 MB / 498.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.1045, allocations: 3.646 MB / 0.4905 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.1049, allocations: 235.5 kB / 0.4907 GB, free: 272 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.1051, allocations: 105.3 kB / 0.4908 GB, free: 164 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.1053, allocations: 255.2 kB / 0.4911 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1053, allocations: 34.56 kB / 0.4911 GB, free: 15.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.242e-06/0.1053, allocations: 0 / 0.4911 GB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.001933/0.1073, allocations: 1.297 MB / 0.4924 GB, free: 14.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1073, allocations: 59.34 kB / 0.4924 GB, free: 14.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.1077, allocations: 405.8 kB / 0.4928 GB, free: 13.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1077, allocations: 37.64 kB / 0.4929 GB, free: 13.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.1079, allocations: 466.1 kB / 0.4933 GB, free: 13.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.759e-05/0.108, allocations: 138 kB / 0.4934 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.1081, allocations: 49.7 kB / 0.4935 GB, free: 13.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1082, allocations: 358.8 kB / 0.4938 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.1084, allocations: 121.1 kB / 0.4939 GB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.1087, allocations: 306.2 kB / 0.4942 GB, free: 12.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.1092, allocations: 467.4 kB / 0.4947 GB, free: 11.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1092, allocations: 0 / 0.4947 GB, free: 11.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000679/0.1099, allocations: 0.5173 MB / 0.4952 GB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1099, allocations: 8 kB / 0.4952 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1099, allocations: 4 kB / 0.4952 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.1101, allocations: 44.83 kB / 0.4952 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.1104, allocations: 123.8 kB / 0.4954 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003022/0.1107, allocations: 0.5562 MB / 0.4959 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.1109, allocations: 19.98 kB / 0.4959 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.1109, allocations: 28 kB / 0.4959 GB, free: 10.51 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.0002221/0.1112, allocations: 237.6 kB / 0.4962 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.1112, allocations: 55.28 kB / 0.4962 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/0.1118, allocations: 327 kB / 0.4965 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1118, allocations: 8 kB / 0.4965 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1118, allocations: 0 / 0.4965 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1118, allocations: 7.984 kB / 0.4966 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.113, allocations: 1.062 MB / 0.4976 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.113, allocations: 4 kB / 0.4976 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.1133, allocations: 79.89 kB / 0.4977 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.555e-05/0.1134, allocations: 36.78 kB / 0.4977 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.1134, allocations: 8 kB / 0.4977 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002654/0.1137, allocations: 0.5486 MB / 0.4982 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1137, allocations: 0 / 0.4982 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.1144, allocations: 0.5711 MB / 0.4988 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.1145, allocations: 112.5 kB / 0.4989 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.1145, allocations: 12 kB / 0.4989 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1146, allocations: 11.98 kB / 0.4989 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1147, allocations: 28 kB / 0.499 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1147, allocations: 19.88 kB / 0.499 GB, free: 7.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.115, allocations: 271.1 kB / 0.4992 GB, free: 6.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.115, allocations: 4 kB / 0.4992 GB, free: 6.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004137/0.1154, allocations: 124 kB / 0.4994 GB, free: 6.836 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.000121/0.1155, allocations: 115.2 kB / 0.4995 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005082/0.116, allocations: 333.4 kB / 0.4998 GB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.116, allocations: 0 / 0.4998 GB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.1163, allocations: 148.2 kB / 0.4999 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.1168, allocations: 75.38 kB / 0.5 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.1189, allocations: 2.145 MB / 0.5021 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.1194, allocations: 0.9599 MB / 0.503 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.1196, allocations: 76.58 kB / 0.5031 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.1197, allocations: 39.44 kB / 0.5031 GB, free: 2.879 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1197, allocations: 3.938 kB / 0.5032 GB, free: 2.875 MB / 382.1 MB Notification: Performance of Templates: time 0.1409/0.2606, allocations: 3.919 MB / 0.507 GB, free: 39.16 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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches