Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 110.5 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 188.1 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2013/0.2013, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09853, allocations: 57.78 MB / 499.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004225/0.1028, allocations: 3.279 MB / 0.4906 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1043, allocations: 0.8344 MB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.1047, allocations: 11.94 kB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.105, allocations: 75.23 kB / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.1054, allocations: 178.5 kB / 0.4916 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.1057, allocations: 103.9 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.1064, allocations: 0.6104 MB / 0.4923 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.1067, allocations: 165.3 kB / 0.4925 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.107, allocations: 235.1 kB / 0.4927 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.1072, allocations: 238.9 kB / 0.493 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.1073, allocations: 44 kB / 0.493 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.1074, allocations: 48 kB / 0.493 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.618e-05/0.1075, allocations: 95.69 kB / 0.4931 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.1078, allocations: 262.7 kB / 0.4934 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.1083, allocations: 0.5679 MB / 0.4939 GB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1083, allocations: 3.938 kB / 0.4939 GB, free: 5.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1083, allocations: 0 / 0.4939 GB, free: 5.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.1084, allocations: 3.938 kB / 0.4939 GB, free: 5.582 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001097/0.1095, allocations: 0.7635 MB / 0.4947 GB, free: 4.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1095, allocations: 15.89 kB / 0.4947 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.333e-05/0.1096, allocations: 82.72 kB / 0.4948 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1097, allocations: 64.55 kB / 0.4948 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.1102, allocations: 314.6 kB / 0.4951 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.1102, allocations: 41.38 kB / 0.4952 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.1103, allocations: 56.31 kB / 0.4952 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006885/0.111, allocations: 442.7 kB / 0.4957 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.111, allocations: 11.95 kB / 0.4957 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.1111, allocations: 16 kB / 0.4957 GB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.1111, allocations: 12 kB / 0.4957 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.1116, allocations: 320.4 kB / 0.496 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1132, allocations: 1.142 MB / 0.4971 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.114, allocations: 489 kB / 0.4976 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.1143, allocations: 214.9 kB / 0.4978 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1143, allocations: 8.438 kB / 0.4978 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1144, allocations: 46.94 kB / 0.4978 GB, free: 1.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.084e-06/0.1144, allocations: 224 / 0.4978 GB, free: 1.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002846/0.1172, allocations: 2.149 MB / 0.4999 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.1173, allocations: 85.67 kB / 0.5 GB, free: 14.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.1175, allocations: 251 kB / 0.5003 GB, free: 14.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.1176, allocations: 37.7 kB / 0.5003 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1177, allocations: 217.4 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.1179, allocations: 285.5 kB / 0.5008 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.1181, allocations: 122.7 kB / 0.5009 GB, free: 14.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1182, allocations: 358.7 kB / 0.5012 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.1185, allocations: 157.9 kB / 0.5014 GB, free: 13.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.1188, allocations: 280.8 kB / 0.5017 GB, free: 13.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.1194, allocations: 467 kB / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1194, allocations: 0 / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007776/0.1202, allocations: 0.5749 MB / 0.5027 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1202, allocations: 8 kB / 0.5027 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1202, allocations: 4 kB / 0.5027 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1202, allocations: 7.984 kB / 0.5027 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.1208, allocations: 179.8 kB / 0.5029 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.1208, allocations: 8 kB / 0.5029 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.1211, allocations: 28.17 kB / 0.5029 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.1212, allocations: 35.94 kB / 0.5029 GB, free: 11.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.1214, allocations: 181.7 kB / 0.5031 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.1215, allocations: 43.72 kB / 0.5031 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.1216, allocations: 55.64 kB / 0.5032 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1216, allocations: 8 kB / 0.5032 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1216, allocations: 0 / 0.5032 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1216, allocations: 7.922 kB / 0.5032 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.1234, allocations: 1.44 MB / 0.5046 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.1235, allocations: 8 kB / 0.5046 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.1241, allocations: 159.7 kB / 0.5048 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.1241, allocations: 8 kB / 0.5048 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.1241, allocations: 23.94 kB / 0.5048 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1242, allocations: 4 kB / 0.5048 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1242, allocations: 7.984 kB / 0.5048 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.1252, allocations: 0.9162 MB / 0.5057 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1253, allocations: 120.8 kB / 0.5058 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.1254, allocations: 23.98 kB / 0.5058 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.1257, allocations: 16 kB / 0.5059 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.1258, allocations: 48.31 kB / 0.5059 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.1258, allocations: 31.94 kB / 0.5059 GB, free: 8.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.126, allocations: 174 kB / 0.5061 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.126, allocations: 0 / 0.5061 GB, free: 8.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005072/0.1265, allocations: 148 kB / 0.5062 GB, free: 8.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/0.1278, allocations: 1.468 MB / 0.5077 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006866/0.1285, allocations: 456.1 kB / 0.5081 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1285, allocations: 4 kB / 0.5081 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.1288, allocations: 234.2 kB / 0.5083 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/0.1297, allocations: 141.3 kB / 0.5085 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.1353, allocations: 4.773 MB / 0.5131 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1357, allocations: 0.8447 MB / 0.514 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.136, allocations: 64.7 kB / 0.514 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.1362, allocations: 175.3 kB / 0.5142 GB, free: 15.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.552e-06/0.1362, allocations: 0 / 0.5142 GB, free: 15.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.1672, allocations: 9.893 MB / 0.5239 GB, free: 5.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.295, allocations: 15.22 kB / 0.5239 GB, free: 5.914 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches