Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 179.6 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 222.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007867/0.0007868, allocations: 89.17 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4355/0.4355, allocations: 43.56 MB / 362.7 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004078, allocations: 16 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005926/0.1414, allocations: 4.972 MB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003899/0.1454, allocations: 2.156 MB / 497.4 MB, free: 3.836 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007328/0.1461, allocations: 39.75 kB / 497.4 MB, free: 3.797 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.1465, allocations: 154.7 kB / 497.5 MB, free: 3.645 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.1469, allocations: 154.8 kB / 497.7 MB, free: 3.492 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009253/0.1479, allocations: 299.3 kB / 498 MB, free: 3.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1489, allocations: 0.9697 MB / 499 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.1496, allocations: 433.9 kB / 499.4 MB, free: 1.781 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.1499, allocations: 258.8 kB / 499.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.1502, allocations: 286.4 kB / 499.9 MB, free: 1.246 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.1503, allocations: 32 kB / 499.9 MB, free: 1.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.1505, allocations: 87.91 kB / 0.4883 GB, free: 1.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1507, allocations: 127.4 kB / 0.4884 GB, free: 1.004 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.1508, allocations: 189.2 kB / 0.4886 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2676/0.4184, allocations: 0.925 MB / 0.4895 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.4185, allocations: 0 / 0.4895 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4185, allocations: 2.25 kB / 0.4895 GB, free: 35.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.99e-05/0.4186, allocations: 0 / 0.4895 GB, free: 35.78 MB / 378.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.001721/0.4203, allocations: 0.9661 MB / 0.4905 GB, free: 35.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4204, allocations: 9 kB / 0.4905 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.4206, allocations: 106.1 kB / 0.4906 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009023/0.4215, allocations: 0.5405 MB / 0.4911 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/0.4216, allocations: 69.5 kB / 0.4912 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.4217, allocations: 97.94 kB / 0.4913 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.4237, allocations: 0.885 MB / 0.4921 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/0.4238, allocations: 8.766 kB / 0.4921 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.4239, allocations: 41.52 kB / 0.4922 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.4239, allocations: 23.84 kB / 0.4922 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.4251, allocations: 0.5198 MB / 0.4927 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.4296, allocations: 3.643 MB / 0.4963 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.4303, allocations: 228.1 kB / 0.4965 GB, free: 32.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.4305, allocations: 104.2 kB / 0.4966 GB, free: 32.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.4308, allocations: 248 kB / 0.4968 GB, free: 32.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.4308, allocations: 38.86 kB / 0.4968 GB, free: 32.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 4.037e-06/0.4308, allocations: 0 / 0.4968 GB, free: 32.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002718/0.4336, allocations: 1.313 MB / 0.4981 GB, free: 31.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.4336, allocations: 59.03 kB / 0.4982 GB, free: 31.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.4341, allocations: 395.9 kB / 0.4986 GB, free: 31.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4341, allocations: 31.86 kB / 0.4986 GB, free: 31.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.4344, allocations: 468.3 kB / 0.499 GB, free: 31.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/0.4345, allocations: 135.1 kB / 0.4992 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.4346, allocations: 11.31 kB / 0.4992 GB, free: 31.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4347, allocations: 362.1 kB / 0.4995 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.4349, allocations: 119.1 kB / 0.4996 GB, free: 30.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.4352, allocations: 309.6 kB / 0.4999 GB, free: 30.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.4356, allocations: 163.7 kB / 0.5001 GB, free: 30.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4356, allocations: 2.719 kB / 0.5001 GB, free: 30.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008425/0.4364, allocations: 0.5183 MB / 0.5006 GB, free: 30.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.4365, allocations: 6.906 kB / 0.5006 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.4365, allocations: 7.531 kB / 0.5006 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.4367, allocations: 40.7 kB / 0.5007 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.4371, allocations: 127.4 kB / 0.5008 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003275/0.4375, allocations: 0.5624 MB / 0.5013 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.4377, allocations: 19.31 kB / 0.5013 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.4378, allocations: 30.7 kB / 0.5014 GB, free: 29.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00038/0.4381, allocations: 240.1 kB / 0.5016 GB, free: 29.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.4382, allocations: 45.44 kB / 0.5016 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000633/0.4389, allocations: 331.4 kB / 0.502 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4389, allocations: 5.031 kB / 0.502 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4389, allocations: 0 / 0.502 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4389, allocations: 3.094 kB / 0.502 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.4404, allocations: 1.057 MB / 0.503 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.4404, allocations: 5.922 kB / 0.503 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.4407, allocations: 78.83 kB / 0.5031 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.4409, allocations: 35.39 kB / 0.5031 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.4409, allocations: 15.53 kB / 0.5031 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002478/0.4411, allocations: 0.5487 MB / 0.5037 GB, free: 28.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4412, allocations: 0 / 0.5037 GB, free: 28.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.4419, allocations: 0.5663 MB / 0.5042 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.4419, allocations: 115.3 kB / 0.5043 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.442, allocations: 12.11 kB / 0.5043 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.4421, allocations: 12.84 kB / 0.5044 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.4422, allocations: 24.83 kB / 0.5044 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.4423, allocations: 14.41 kB / 0.5044 GB, free: 28.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000248/0.4425, allocations: 263.5 kB / 0.5046 GB, free: 28.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4425, allocations: 2.906 kB / 0.5046 GB, free: 28.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005476/0.4431, allocations: 133.1 kB / 0.5048 GB, free: 28.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.4432, allocations: 122.1 kB / 0.5049 GB, free: 28.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006107/0.4439, allocations: 331.7 kB / 0.5052 GB, free: 28.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4439, allocations: 4.125 kB / 0.5052 GB, free: 28.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.4441, allocations: 146.4 kB / 0.5053 GB, free: 28.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.4446, allocations: 72.03 kB / 0.5054 GB, free: 28.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.4473, allocations: 2.108 MB / 0.5075 GB, free: 26.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.4478, allocations: 0.9548 MB / 0.5084 GB, free: 26.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.4479, allocations: 46.52 kB / 0.5085 GB, free: 26.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.4479, allocations: 1.188 kB / 0.5085 GB, free: 26.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01485/0.4628, allocations: 10.98 MB / 0.5192 GB, free: 25.14 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches