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.001213/0.001218, allocations: 104.9 kB / 16.41 MB, free: 6.449 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.001253/0.001253, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2047/0.2047, allocations: 43.53 MB / 314.1 MB, free: 448 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.001548/0.001548, allocations: 61.47 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004436/0.1124, allocations: 3.279 MB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1142, allocations: 0.8419 MB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.1147, allocations: 11.94 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1151, allocations: 75.23 kB / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.1156, allocations: 174.5 kB / 0.4917 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.1159, allocations: 107.8 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006818/0.1166, allocations: 0.5987 MB / 0.4923 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.1169, allocations: 177.3 kB / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.1172, allocations: 223.2 kB / 0.4927 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.1175, allocations: 242.9 kB / 0.493 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.936e-05/0.1175, allocations: 44 kB / 0.493 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.1176, allocations: 48 kB / 0.493 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.1177, allocations: 95.67 kB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.118, allocations: 270.7 kB / 0.4934 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.1185, allocations: 0.5528 MB / 0.4939 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.1185, allocations: 3.938 kB / 0.4939 GB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1185, allocations: 3.938 kB / 0.4939 GB, free: 5.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.1185, allocations: 0 / 0.4939 GB, free: 5.551 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.001047/0.1196, allocations: 0.7562 MB / 0.4947 GB, free: 4.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1196, allocations: 11.89 kB / 0.4947 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.043e-05/0.1197, allocations: 90.7 kB / 0.4948 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.1198, allocations: 56.28 kB / 0.4948 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.1202, allocations: 326.4 kB / 0.4951 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.1203, allocations: 41.38 kB / 0.4952 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.1204, allocations: 52.28 kB / 0.4952 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.121, allocations: 434.7 kB / 0.4956 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.121, allocations: 11.91 kB / 0.4957 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.1211, allocations: 19.98 kB / 0.4957 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.1211, allocations: 12 kB / 0.4957 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.1216, allocations: 320.4 kB / 0.496 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1232, allocations: 1.134 MB / 0.4971 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.124, allocations: 497 kB / 0.4976 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.1243, allocations: 211 kB / 0.4978 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1243, allocations: 8.438 kB / 0.4978 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1243, allocations: 42.94 kB / 0.4978 GB, free: 1.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.374e-06/0.1243, allocations: 0 / 0.4978 GB, free: 1.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.00288/0.1272, allocations: 2.139 MB / 0.4999 GB, free: 15.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.1273, allocations: 89.67 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1275, allocations: 247 kB / 0.5002 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1276, allocations: 33.7 kB / 0.5003 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1277, allocations: 221 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.1279, allocations: 268 kB / 0.5007 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.128, allocations: 118.7 kB / 0.5008 GB, free: 14.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1282, allocations: 362.7 kB / 0.5012 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.1284, allocations: 153.9 kB / 0.5013 GB, free: 13.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.1287, allocations: 284.8 kB / 0.5016 GB, free: 13.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.1293, allocations: 462.9 kB / 0.502 GB, free: 12.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1293, allocations: 0 / 0.502 GB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008482/0.1302, allocations: 0.5747 MB / 0.5026 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.1302, allocations: 11.94 kB / 0.5026 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1302, allocations: 0 / 0.5026 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1303, allocations: 8 kB / 0.5026 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.1308, allocations: 175.8 kB / 0.5028 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.1309, allocations: 8 kB / 0.5028 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.1311, allocations: 28.16 kB / 0.5028 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.1312, allocations: 35.98 kB / 0.5029 GB, free: 11.88 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.0001845/0.1314, allocations: 177.7 kB / 0.503 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.1315, allocations: 55.36 kB / 0.5031 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.917e-05/0.1316, allocations: 51.66 kB / 0.5031 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.1316, allocations: 11.98 kB / 0.5031 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1316, allocations: 0 / 0.5031 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1316, allocations: 3.938 kB / 0.5032 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.1334, allocations: 1.444 MB / 0.5046 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.1334, allocations: 4 kB / 0.5046 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.1341, allocations: 159.7 kB / 0.5047 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.1341, allocations: 8 kB / 0.5047 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.1341, allocations: 19.94 kB / 0.5047 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.1342, allocations: 8 kB / 0.5048 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1342, allocations: 4 kB / 0.5048 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1353, allocations: 0.9083 MB / 0.5056 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.1354, allocations: 120.6 kB / 0.5058 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.336e-05/0.1355, allocations: 20 kB / 0.5058 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.1358, allocations: 19.98 kB / 0.5058 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.1358, allocations: 48.31 kB / 0.5058 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.1359, allocations: 27.94 kB / 0.5059 GB, free: 8.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.136, allocations: 174 kB / 0.506 GB, free: 8.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.136, allocations: 0 / 0.506 GB, free: 8.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005397/0.1366, allocations: 148 kB / 0.5062 GB, free: 8.297 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.001347/0.1379, allocations: 1.464 MB / 0.5076 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006611/0.1386, allocations: 464.8 kB / 0.508 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1386, allocations: 4 kB / 0.5081 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.1389, allocations: 234.2 kB / 0.5083 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008219/0.1397, allocations: 133.5 kB / 0.5084 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.1454, allocations: 4.758 MB / 0.513 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.1459, allocations: 0.8524 MB / 0.5139 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.1461, allocations: 60.66 kB / 0.5139 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.1464, allocations: 167.5 kB / 0.5141 GB, free: 15.87 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1464, allocations: 0 / 0.5141 GB, free: 15.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04439/0.1908, allocations: 10.08 MB / 0.5239 GB, free: 5.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/8.799, allocations: 15.89 kB / 0.524 GB, free: 5.766 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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