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.001667/0.001667, allocations: 103.1 kB / 16.4 MB, free: 6.508 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.002499/0.002498, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.623/1.623, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2474/0.2474, allocations: 43.53 MB / 314.1 MB, free: 452 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.002221/0.002221, allocations: 67.89 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1057, 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.004672/0.1105, allocations: 3.271 MB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1121, allocations: 0.8461 MB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.1124, allocations: 11.94 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.1127, allocations: 67.23 kB / 0.4915 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.1131, allocations: 178.5 kB / 0.4917 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1134, allocations: 107.8 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.1141, allocations: 0.6026 MB / 0.4923 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.1144, allocations: 165.3 kB / 0.4925 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.1147, allocations: 219.2 kB / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.115, allocations: 246.9 kB / 0.4929 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/0.1151, allocations: 40 kB / 0.493 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.076e-05/0.1152, allocations: 48 kB / 0.493 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.866e-05/0.1153, allocations: 99.67 kB / 0.4931 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.1156, allocations: 262.8 kB / 0.4934 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.1162, allocations: 0.5679 MB / 0.4939 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1162, allocations: 0 / 0.4939 GB, free: 5.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1163, allocations: 3.938 kB / 0.4939 GB, free: 5.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1163, allocations: 0 / 0.4939 GB, free: 5.555 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.001233/0.1175, allocations: 0.7708 MB / 0.4947 GB, free: 4.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1176, allocations: 11.89 kB / 0.4947 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.456e-05/0.1177, allocations: 86.7 kB / 0.4948 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.388e-05/0.1178, allocations: 64.56 kB / 0.4948 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.1183, allocations: 322.6 kB / 0.4952 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.1183, allocations: 37.38 kB / 0.4952 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.1184, allocations: 56.33 kB / 0.4952 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.1191, allocations: 438.7 kB / 0.4957 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.1192, allocations: 7.953 kB / 0.4957 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.1192, allocations: 20 kB / 0.4957 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1192, allocations: 12 kB / 0.4957 GB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005168/0.1197, allocations: 312.5 kB / 0.496 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.1216, allocations: 1.142 MB / 0.4971 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.1224, allocations: 493 kB / 0.4976 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.1227, allocations: 215 kB / 0.4978 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1227, allocations: 4.438 kB / 0.4978 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1228, allocations: 42.94 kB / 0.4978 GB, free: 1.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.555e-06/0.1228, allocations: 48 / 0.4978 GB, free: 1.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.003235/0.126, allocations: 2.157 MB / 0.4999 GB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.1261, allocations: 85.67 kB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1264, allocations: 255 kB / 0.5003 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.1264, allocations: 33.7 kB / 0.5003 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1266, allocations: 221.4 kB / 0.5005 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.1268, allocations: 285.5 kB / 0.5008 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.127, allocations: 126.6 kB / 0.5009 GB, free: 13.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1272, allocations: 354.7 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.1275, allocations: 161.9 kB / 0.5014 GB, free: 13.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.1278, allocations: 276.9 kB / 0.5017 GB, free: 13.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.1285, allocations: 467.1 kB / 0.5021 GB, free: 12.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.1286, allocations: 4 kB / 0.5021 GB, free: 12.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009006/0.1295, allocations: 0.5749 MB / 0.5027 GB, free: 12.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1295, allocations: 7.984 kB / 0.5027 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.1295, allocations: 8.062 kB / 0.5027 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.1296, allocations: 8 kB / 0.5027 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.1302, allocations: 171.8 kB / 0.5029 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.1302, allocations: 7.938 kB / 0.5029 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.1305, allocations: 32.17 kB / 0.5029 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.1306, allocations: 32 kB / 0.5029 GB, free: 11.83 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.000223/0.1308, allocations: 169.7 kB / 0.5031 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.1309, allocations: 47.72 kB / 0.5031 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.131, allocations: 59.64 kB / 0.5032 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.131, allocations: 4 kB / 0.5032 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.1311, allocations: 4 kB / 0.5032 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.1311, allocations: 15.8 kB / 0.5032 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.1332, allocations: 1.44 MB / 0.5046 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.1332, allocations: 0 / 0.5046 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/0.1339, allocations: 159.8 kB / 0.5048 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.1339, allocations: 4 kB / 0.5048 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.134, allocations: 23.94 kB / 0.5048 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.134, allocations: 11.98 kB / 0.5048 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.134, allocations: 3.938 kB / 0.5048 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.1352, allocations: 0.9162 MB / 0.5057 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.1353, allocations: 128.8 kB / 0.5058 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.1354, allocations: 12 kB / 0.5058 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.1357, allocations: 20 kB / 0.5059 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.1358, allocations: 48.38 kB / 0.5059 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.1358, allocations: 23.94 kB / 0.5059 GB, free: 8.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.136, allocations: 182 kB / 0.5061 GB, free: 8.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.136, allocations: 0 / 0.5061 GB, free: 8.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005714/0.1366, allocations: 144 kB / 0.5062 GB, free: 8.246 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.001522/0.1381, allocations: 1.468 MB / 0.5077 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007695/0.1389, allocations: 459.8 kB / 0.5081 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.1389, allocations: 8.188 kB / 0.5081 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.1393, allocations: 234.2 kB / 0.5083 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009268/0.1402, allocations: 134.1 kB / 0.5085 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.1468, allocations: 4.777 MB / 0.5131 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.1474, allocations: 0.8486 MB / 0.514 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.1477, allocations: 60.66 kB / 0.514 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.148, allocations: 167.4 kB / 0.5142 GB, free: 15.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.148, allocations: 0 / 0.5142 GB, free: 15.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.1844, allocations: 9.901 MB / 0.5238 GB, free: 5.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.364/9.549, allocations: 15.69 kB / 0.5239 GB, free: 5.879 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