Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002102/0.002102, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 76.14 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1184, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00495/0.1234, allocations: 3.286 MB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.125, allocations: 0.8377 MB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.1255, allocations: 11.94 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1258, allocations: 75.17 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.1263, allocations: 170.5 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1266, allocations: 103.9 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006484/0.1273, allocations: 0.591 MB / 485.2 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.1276, allocations: 185.2 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.128, allocations: 211.3 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.1283, allocations: 239 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.1284, allocations: 47.98 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1285, allocations: 44 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.78e-05/0.1286, allocations: 103.6 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.1289, allocations: 274.7 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005275/0.1294, allocations: 0.5411 MB / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1294, allocations: 0 / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1294, allocations: 0 / 486.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.1294, allocations: 0 / 486.8 MB, free: 14.48 MB / 366.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.00116/0.1306, allocations: 0.764 MB / 487.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1306, allocations: 8.031 kB / 487.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.1308, allocations: 90.7 kB / 487.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1309, allocations: 52.38 kB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.1313, allocations: 318.4 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.1313, allocations: 33.38 kB / 488.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/0.1314, allocations: 60.28 kB / 488.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.132, allocations: 438.7 kB / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.1321, allocations: 15.81 kB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.1321, allocations: 20 kB / 488.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1321, allocations: 15.94 kB / 488.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004402/0.1326, allocations: 312.5 kB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.1341, allocations: 1.146 MB / 490.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.1347, allocations: 489.1 kB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.135, allocations: 211 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1351, allocations: 4.438 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1351, allocations: 46.92 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.485e-06/0.1351, allocations: 0 / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.00263/0.1377, allocations: 2.127 MB / 492.9 MB, free: 7.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1378, allocations: 89.61 kB / 493 MB, free: 7.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.138, allocations: 262.9 kB / 493.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1381, allocations: 37.7 kB / 493.3 MB, free: 7.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1382, allocations: 205 kB / 493.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.1384, allocations: 264.1 kB / 493.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.1385, allocations: 122.7 kB / 493.9 MB, free: 6.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1387, allocations: 366.7 kB / 494.2 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.1389, allocations: 153.9 kB / 494.4 MB, free: 6.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.1392, allocations: 272.9 kB / 494.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.1398, allocations: 474.8 kB / 495.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1398, allocations: 0 / 495.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000767/0.1406, allocations: 0.5603 MB / 495.7 MB, free: 5.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1406, allocations: 10.94 kB / 495.7 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1406, allocations: 8 kB / 495.7 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1407, allocations: 7.938 kB / 495.7 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.1413, allocations: 179.7 kB / 495.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.1413, allocations: 8 kB / 495.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.1415, allocations: 27.92 kB / 495.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.1416, allocations: 24.06 kB / 495.9 MB, free: 4.836 MB / 366.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.0001781/0.1418, allocations: 189.5 kB / 496.1 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.1419, allocations: 47.53 kB / 496.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.142, allocations: 63.67 kB / 496.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.142, allocations: 8 kB / 496.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.142, allocations: 0 / 496.2 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.142, allocations: 7.922 kB / 496.2 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.1438, allocations: 1.446 MB / 497.7 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.1438, allocations: 4 kB / 497.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.1445, allocations: 159.8 kB / 497.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.1445, allocations: 8 kB / 497.9 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.1445, allocations: 24.27 kB / 497.9 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.1445, allocations: 8 kB / 497.9 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1445, allocations: 7.938 kB / 497.9 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1456, allocations: 0.9039 MB / 498.8 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.1457, allocations: 124.5 kB / 498.9 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.1457, allocations: 24 kB / 498.9 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.146, allocations: 16 kB / 499 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.1461, allocations: 44.38 kB / 499 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.1461, allocations: 23.94 kB / 499 MB, free: 1.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1463, allocations: 185.9 kB / 499.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1463, allocations: 0 / 499.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004805/0.1468, allocations: 148 kB / 499.4 MB, free: 1.227 MB / 366.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.001243/0.148, allocations: 1.468 MB / 0.4891 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008019/0.1488, allocations: 479.8 kB / 0.4895 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1488, allocations: 4 kB / 0.4895 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.1491, allocations: 243.4 kB / 0.4898 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.15, allocations: 142.2 kB / 0.4899 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.1555, allocations: 4.794 MB / 0.4946 GB, free: 9.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.156, allocations: 0.8484 MB / 0.4954 GB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.1562, allocations: 56.66 kB / 0.4955 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.1564, allocations: 175.3 kB / 0.4956 GB, free: 8.738 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1564, allocations: 4 kB / 0.4957 GB, free: 8.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2107/0.3671, allocations: 9.67 MB / 0.5051 GB, free: 41.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.156, allocations: 6.125 kB / 0.5051 GB, free: 41.32 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches