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.001664/0.001664, allocations: 99.78 kB / 16.26 MB, free: 5.93 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.001976/0.001976, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.444/1.444, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2237/0.2237, allocations: 43.53 MB / 313.9 MB, free: 0.5195 MB / 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.001698/0.001698, allocations: 73.97 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.0988, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003492/0.1023, allocations: 3.275 MB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1035, allocations: 0.8344 MB / 444.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.1037, allocations: 11.94 kB / 444.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1039, allocations: 67.25 kB / 444.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1041, allocations: 178.5 kB / 445 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.1043, allocations: 107.9 kB / 445.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.1047, allocations: 0.591 MB / 445.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.1049, allocations: 177.3 kB / 445.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1051, allocations: 207.3 kB / 446.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.1053, allocations: 242.9 kB / 446.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.1053, allocations: 44 kB / 446.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.1054, allocations: 44 kB / 446.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.1055, allocations: 111.5 kB / 446.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1056, allocations: 266.7 kB / 446.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.1059, allocations: 0.545 MB / 447.3 MB, free: 92 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.106, allocations: 0 / 447.3 MB, free: 92 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.106, allocations: 4 kB / 447.3 MB, free: 88 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.106, allocations: 0 / 447.3 MB, free: 88 kB / 318.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.001033/0.107, allocations: 0.7484 MB / 448 MB, free: 15.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1071, allocations: 15.88 kB / 448.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.36e-05/0.1072, allocations: 94.66 kB / 448.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.1073, allocations: 56.28 kB / 448.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.1076, allocations: 318.4 kB / 448.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.1076, allocations: 37.38 kB / 448.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.1077, allocations: 52.28 kB / 448.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/0.1083, allocations: 438.7 kB / 449 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.1084, allocations: 11.91 kB / 449 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.1084, allocations: 16 kB / 449.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.1084, allocations: 16 kB / 449.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.1089, allocations: 324.4 kB / 449.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.1105, allocations: 1.142 MB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/0.1112, allocations: 497.1 kB / 451 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.1115, allocations: 215.8 kB / 451.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1115, allocations: 4.438 kB / 451.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1116, allocations: 46.88 kB / 451.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 1.763e-06/0.1116, allocations: 0 / 451.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=74): time 0.002968/0.1145, allocations: 2.132 MB / 453.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.1146, allocations: 97.59 kB / 453.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.1149, allocations: 247 kB / 453.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1149, allocations: 41.7 kB / 453.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1151, allocations: 212.9 kB / 454 MB, free: 8.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.1153, allocations: 268 kB / 454.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.1154, allocations: 122.7 kB / 454.4 MB, free: 8.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1156, allocations: 358.7 kB / 454.7 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.1158, allocations: 157.9 kB / 454.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.1161, allocations: 276.9 kB / 455.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/0.1168, allocations: 479 kB / 455.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1168, allocations: 0 / 455.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007707/0.1175, allocations: 0.5668 MB / 456.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1176, allocations: 5.25 kB / 456.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1176, allocations: 4 kB / 456.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1176, allocations: 4 kB / 456.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.1182, allocations: 184 kB / 456.4 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1182, allocations: 8 kB / 456.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.1185, allocations: 31.94 kB / 456.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.1185, allocations: 20 kB / 456.4 MB, free: 6.418 MB / 334.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.0001799/0.1187, allocations: 181.7 kB / 456.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.1188, allocations: 47.42 kB / 456.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/0.1189, allocations: 51.66 kB / 456.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.1189, allocations: 12 kB / 456.7 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1189, allocations: 3.984 kB / 456.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.1189, allocations: 7.938 kB / 456.7 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.1207, allocations: 1.446 MB / 458.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1207, allocations: 4 kB / 458.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006078/0.1213, allocations: 159.8 kB / 458.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.1214, allocations: 8 kB / 458.3 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.1214, allocations: 19.94 kB / 458.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.1214, allocations: 7.938 kB / 458.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1214, allocations: 4.344 kB / 458.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.1225, allocations: 0.9152 MB / 459.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.1226, allocations: 120.6 kB / 459.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.1226, allocations: 20 kB / 459.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.1229, allocations: 19.98 kB / 459.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.123, allocations: 56.3 kB / 459.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.123, allocations: 23.94 kB / 459.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1232, allocations: 174 kB / 459.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1232, allocations: 0 / 459.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005269/0.1237, allocations: 148 kB / 459.8 MB, free: 2.82 MB / 334.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.001333/0.1251, allocations: 1.468 MB / 461.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008169/0.1259, allocations: 496 kB / 461.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1259, allocations: 0 / 461.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.1262, allocations: 234.2 kB / 462 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.127, allocations: 133 kB / 462.2 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.1329, allocations: 4.802 MB / 467 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.1333, allocations: 0.8446 MB / 467.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002478/0.1336, allocations: 60.66 kB / 467.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.1338, allocations: 167.4 kB / 468 MB, free: 10.34 MB / 350.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1338, allocations: 0 / 468 MB, free: 10.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.1658, allocations: 9.693 MB / 477.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.02, allocations: 15.62 kB / 477.7 MB, free: 0.6641 MB / 350.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