Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 180.6 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 222.5 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007885/0.0007886, allocations: 86.34 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4507/0.4507, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004323, allocations: 16 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004823/0.168, allocations: 2.922 MB / 493.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1702, allocations: 0.7955 MB / 493.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.1708, allocations: 8 kB / 494 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.1712, allocations: 51.61 kB / 494 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008282/0.1721, allocations: 111.1 kB / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.1729, allocations: 95.91 kB / 494.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009795/0.1739, allocations: 486.4 kB / 494.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.1744, allocations: 182.5 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000531/0.1749, allocations: 179.3 kB / 495 MB, free: 6.375 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005215/0.1755, allocations: 203.1 kB / 495.2 MB, free: 6.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.1756, allocations: 24 kB / 495.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1758, allocations: 24 kB / 495.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.1759, allocations: 79.69 kB / 495.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.1761, allocations: 109.5 kB / 495.5 MB, free: 5.938 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.1766, allocations: 415 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1767, allocations: 4 kB / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1767, allocations: 0 / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.1767, allocations: 0 / 495.9 MB, free: 5.527 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001613/0.1783, allocations: 0.7017 MB / 496.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1784, allocations: 12.03 kB / 496.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1785, allocations: 51.39 kB / 496.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.179, allocations: 304.2 kB / 496.9 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.331e-05/0.179, allocations: 37 kB / 497 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.1791, allocations: 48 kB / 497 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009374/0.1801, allocations: 463 kB / 497.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1801, allocations: 0 / 497.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.665e-05/0.1802, allocations: 20 kB / 497.5 MB, free: 3.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.1802, allocations: 12 kB / 497.5 MB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.1809, allocations: 339.7 kB / 497.8 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.1836, allocations: 1.693 MB / 499.5 MB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.1843, allocations: 244.9 kB / 499.8 MB, free: 1.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.1847, allocations: 141.6 kB / 499.9 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.1847, allocations: 4.219 kB / 499.9 MB, free: 1.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.1847, allocations: 42.5 kB / 500 MB, free: 1.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.214e-06/0.1847, allocations: 0 / 500 MB, free: 1.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.2961/0.4809, allocations: 1.366 MB / 0.4896 GB, free: 43.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.481, allocations: 85.39 kB / 0.4896 GB, free: 42.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.4814, allocations: 253.8 kB / 0.4899 GB, free: 42.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.4814, allocations: 35.11 kB / 0.4899 GB, free: 42.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.4816, allocations: 260 kB / 0.4902 GB, free: 42.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.687e-05/0.4817, allocations: 124.4 kB / 0.4903 GB, free: 42.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.4817, allocations: 10.56 kB / 0.4903 GB, free: 42.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.4818, allocations: 347.7 kB / 0.4906 GB, free: 42.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.4821, allocations: 109.8 kB / 0.4907 GB, free: 42.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.4825, allocations: 221.8 kB / 0.4909 GB, free: 42.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.4828, allocations: 140.6 kB / 0.4911 GB, free: 42.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4829, allocations: 1.031 kB / 0.4911 GB, free: 42.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009435/0.4838, allocations: 421.8 kB / 0.4915 GB, free: 42.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.4838, allocations: 7.469 kB / 0.4915 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.4839, allocations: 2.938 kB / 0.4915 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.4841, allocations: 34.16 kB / 0.4915 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.4846, allocations: 122.2 kB / 0.4916 GB, free: 42.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.4857, allocations: 1.333 MB / 0.4929 GB, free: 40.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.486, allocations: 20.5 kB / 0.493 GB, free: 40.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.486, allocations: 18.44 kB / 0.493 GB, free: 40.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.4862, allocations: 164.6 kB / 0.4931 GB, free: 40.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.4863, allocations: 35.69 kB / 0.4932 GB, free: 40.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.4864, allocations: 37.44 kB / 0.4932 GB, free: 40.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4864, allocations: 7.969 kB / 0.4932 GB, free: 40.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4864, allocations: 1.25 kB / 0.4932 GB, free: 40.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4865, allocations: 2.672 kB / 0.4932 GB, free: 40.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.4877, allocations: 0.7178 MB / 0.4939 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4877, allocations: 1.5 kB / 0.4939 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.4882, allocations: 94.19 kB / 0.494 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.539e-05/0.4883, allocations: 28.09 kB / 0.494 GB, free: 40.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.4883, allocations: 10.53 kB / 0.4941 GB, free: 40.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007104/0.489, allocations: 1.335 MB / 0.4954 GB, free: 39.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.489, allocations: 1.062 kB / 0.4954 GB, free: 39.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009997/0.49, allocations: 0.617 MB / 0.496 GB, free: 38.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4901, allocations: 122.6 kB / 0.4961 GB, free: 38.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.4902, allocations: 8.344 kB / 0.4961 GB, free: 38.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.4905, allocations: 28.5 kB / 0.4961 GB, free: 38.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.4906, allocations: 26.95 kB / 0.4961 GB, free: 38.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.4906, allocations: 11.95 kB / 0.4961 GB, free: 38.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.4908, allocations: 185.2 kB / 0.4963 GB, free: 38.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4908, allocations: 3.391 kB / 0.4963 GB, free: 38.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005062/0.4913, allocations: 90.56 kB / 0.4964 GB, free: 38.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.4914, allocations: 105.2 kB / 0.4965 GB, free: 38.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009716/0.4924, allocations: 405.8 kB / 0.4969 GB, free: 38.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4924, allocations: 1.438 kB / 0.4969 GB, free: 38.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.4929, allocations: 256.3 kB / 0.4971 GB, free: 38.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.4934, allocations: 41.11 kB / 0.4972 GB, free: 38.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.4953, allocations: 1.164 MB / 0.4983 GB, free: 37.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.4956, allocations: 0.8115 MB / 0.4991 GB, free: 36.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4957, allocations: 30.73 kB / 0.4991 GB, free: 36.84 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4957, allocations: 0 / 0.4991 GB, free: 36.84 MB / 378.7 MB Notification: Performance of Templates: time 0.009255/0.505, allocations: 5.871 MB / 0.5049 GB, free: 36.39 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches