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.001013/0.001013, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.26/1.26, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007173/0.0007172, allocations: 94.39 kB / 271.2 MB, free: 8.258 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.283/0.283, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003359, allocations: 16 kB / 432 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09093, allocations: 58.84 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003019/0.09398, allocations: 2.918 MB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.09517, allocations: 0.8072 MB / 494.5 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.09535, allocations: 11.94 kB / 494.6 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.09549, allocations: 51.61 kB / 494.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.0957, allocations: 99.14 kB / 494.7 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.09598, allocations: 107.8 kB / 494.8 MB, free: 6.656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00041/0.0964, allocations: 482.5 kB / 495.3 MB, free: 6.184 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.0967, allocations: 210.6 kB / 495.5 MB, free: 5.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.09691, allocations: 183.3 kB / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.09712, allocations: 191.1 kB / 495.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.09718, allocations: 24 kB / 495.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.09724, allocations: 28 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.09731, allocations: 75.69 kB / 496 MB, free: 5.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.09749, allocations: 244.6 kB / 496.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.09782, allocations: 415 kB / 496.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.09783, allocations: 0 / 496.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.09784, allocations: 4 kB / 496.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.09785, allocations: 0 / 496.6 MB, free: 4.824 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.001021/0.09887, allocations: 0.698 MB / 497.3 MB, free: 4.078 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.09891, allocations: 8.031 kB / 497.3 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.099, allocations: 52.38 kB / 497.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.09935, allocations: 313.3 kB / 497.7 MB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.09939, allocations: 37.38 kB / 497.7 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.09946, allocations: 48.31 kB / 497.8 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/0.1002, allocations: 467.1 kB / 498.2 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1002, allocations: 0 / 498.2 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.1003, allocations: 24 kB / 498.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1003, allocations: 8 kB / 498.3 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/0.101, allocations: 335.8 kB / 498.6 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.1032, allocations: 1.701 MB / 0.4886 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.1037, allocations: 241 kB / 0.4888 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.1041, allocations: 141.9 kB / 0.4889 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1041, allocations: 7.938 kB / 0.4889 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1041, allocations: 38.5 kB / 0.489 GB, free: 496 kB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/0.1041, allocations: 0 / 0.489 GB, free: 496 kB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.161/0.2651, allocations: 1.347 MB / 0.4903 GB, free: 42.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.2652, allocations: 81.52 kB / 0.4904 GB, free: 42.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.2655, allocations: 263 kB / 0.4906 GB, free: 42.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2655, allocations: 32.11 kB / 0.4906 GB, free: 42.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.2656, allocations: 259.6 kB / 0.4909 GB, free: 42.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.2657, allocations: 115.2 kB / 0.491 GB, free: 42.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.2657, allocations: 10.88 kB / 0.491 GB, free: 42.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.2657, allocations: 345.4 kB / 0.4913 GB, free: 41.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.266, allocations: 107.9 kB / 0.4914 GB, free: 41.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.2663, allocations: 218 kB / 0.4917 GB, free: 41.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.2668, allocations: 343.9 kB / 0.492 GB, free: 41.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2669, allocations: 0.9062 kB / 0.492 GB, free: 41.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008272/0.2677, allocations: 423.8 kB / 0.4924 GB, free: 41.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.2677, allocations: 9.344 kB / 0.4924 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2677, allocations: 6.094 kB / 0.4924 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.2679, allocations: 31.02 kB / 0.4924 GB, free: 41.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.2683, allocations: 131.9 kB / 0.4926 GB, free: 41.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007414/0.2691, allocations: 1.333 MB / 0.4939 GB, free: 40.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.2693, allocations: 21.03 kB / 0.4939 GB, free: 40.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.2694, allocations: 18.98 kB / 0.4939 GB, free: 40.2 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.0001494/0.2695, allocations: 169.7 kB / 0.4941 GB, free: 40.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.2696, allocations: 35.72 kB / 0.4941 GB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.2697, allocations: 39.75 kB / 0.4941 GB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.2697, allocations: 3.375 kB / 0.4941 GB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.2697, allocations: 7.125 kB / 0.4941 GB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2697, allocations: 3.219 kB / 0.4941 GB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009511/0.2706, allocations: 0.7183 MB / 0.4948 GB, free: 39.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2707, allocations: 5.594 kB / 0.4949 GB, free: 39.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.2711, allocations: 94.56 kB / 0.4949 GB, free: 39.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.865e-05/0.2711, allocations: 24.11 kB / 0.495 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.2712, allocations: 12.45 kB / 0.495 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006111/0.2718, allocations: 1.329 MB / 0.4963 GB, free: 38.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2718, allocations: 2.688 kB / 0.4963 GB, free: 38.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.2727, allocations: 0.6197 MB / 0.4969 GB, free: 38.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.2728, allocations: 119 kB / 0.497 GB, free: 38.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.2728, allocations: 10.67 kB / 0.497 GB, free: 38.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.2731, allocations: 21.55 kB / 0.497 GB, free: 38.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.2732, allocations: 26.45 kB / 0.4971 GB, free: 38.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.2732, allocations: 13.17 kB / 0.4971 GB, free: 38.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.2733, allocations: 182.8 kB / 0.4972 GB, free: 37.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2734, allocations: 0 / 0.4972 GB, free: 37.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00042/0.2738, allocations: 95.11 kB / 0.4973 GB, free: 37.97 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 8.574e-05/0.2739, allocations: 106.4 kB / 0.4974 GB, free: 37.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.2746, allocations: 414.2 kB / 0.4978 GB, free: 37.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2746, allocations: 5.312 kB / 0.4978 GB, free: 37.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.275, allocations: 258.6 kB / 0.4981 GB, free: 37.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.2754, allocations: 39.53 kB / 0.4981 GB, free: 37.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.2768, allocations: 1.162 MB / 0.4992 GB, free: 36.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.2771, allocations: 0.813 MB / 0.5 GB, free: 36.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/0.2772, allocations: 30.92 kB / 0.5001 GB, free: 36.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2772, allocations: 3.938 kB / 0.5001 GB, free: 36.21 MB / 378.7 MB Notification: Performance of Templates: time 0.006204/0.2834, allocations: 5.857 MB / 0.5058 GB, free: 35.77 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