Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008699/0.00087, allocations: 170.5 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008251/0.000825, allocations: 95.31 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3808/0.3808, allocations: 43.67 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.000451, allocations: 8 kB / 432.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 58.84 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003576/0.1387, allocations: 2.93 MB / 494.1 MB, free: 7.098 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1401, allocations: 0.8111 MB / 494.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1403, allocations: 8 kB / 494.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.1405, allocations: 51.55 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.1407, allocations: 103.1 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.1411, allocations: 111.9 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.1415, allocations: 0.4944 MB / 495.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.1419, allocations: 206.7 kB / 495.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.1421, allocations: 175.3 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.1424, allocations: 203 kB / 496.2 MB, free: 4.934 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.1424, allocations: 31.94 kB / 496.3 MB, free: 4.902 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.245e-05/0.1425, allocations: 28 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.1426, allocations: 79.62 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.1428, allocations: 244.6 kB / 496.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.1432, allocations: 0.5177 MB / 497.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1433, allocations: 3.938 kB / 497.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1433, allocations: 7.938 kB / 497.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1433, allocations: 0 / 497.1 MB, free: 4.02 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.001121/0.1444, allocations: 0.6902 MB / 497.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1445, allocations: 8.031 kB / 497.8 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.1445, allocations: 52.38 kB / 497.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.145, allocations: 317.3 kB / 498.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.145, allocations: 37.38 kB / 498.2 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.1451, allocations: 48.38 kB / 498.3 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008736/0.146, allocations: 467.2 kB / 498.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.146, allocations: 0 / 498.7 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.1461, allocations: 24 kB / 498.8 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1461, allocations: 8 kB / 498.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007496/0.1468, allocations: 339.8 kB / 499.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.1495, allocations: 1.693 MB / 0.4891 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2362/0.3857, allocations: 237.5 kB / 0.4893 GB, free: 43.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.3861, allocations: 140 kB / 0.4894 GB, free: 43.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.3862, allocations: 4.406 kB / 0.4894 GB, free: 43.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3862, allocations: 37.66 kB / 0.4895 GB, free: 43.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.276e-06/0.3862, allocations: 0.8125 kB / 0.4895 GB, free: 43.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002989/0.3892, allocations: 1.361 MB / 0.4908 GB, free: 42.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.3893, allocations: 84.69 kB / 0.4909 GB, free: 42.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.3895, allocations: 255.1 kB / 0.4911 GB, free: 42.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3896, allocations: 31.36 kB / 0.4911 GB, free: 42.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3897, allocations: 259.1 kB / 0.4914 GB, free: 42.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.3898, allocations: 125.5 kB / 0.4915 GB, free: 42.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.3898, allocations: 7.062 kB / 0.4915 GB, free: 42.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.3899, allocations: 344.5 kB / 0.4918 GB, free: 41.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.3902, allocations: 105.7 kB / 0.4919 GB, free: 41.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.3906, allocations: 215.2 kB / 0.4921 GB, free: 41.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006625/0.3912, allocations: 352.7 kB / 0.4925 GB, free: 41.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3913, allocations: 1.781 kB / 0.4925 GB, free: 41.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008245/0.3921, allocations: 425.3 kB / 0.4929 GB, free: 41.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3921, allocations: 6.188 kB / 0.4929 GB, free: 41.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3921, allocations: 7.719 kB / 0.4929 GB, free: 41.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.3923, allocations: 28.62 kB / 0.4929 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.3928, allocations: 119.7 kB / 0.493 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008415/0.3936, allocations: 1.343 MB / 0.4944 GB, free: 40.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.3939, allocations: 30.84 kB / 0.4944 GB, free: 40.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.3939, allocations: 20.19 kB / 0.4944 GB, free: 40.17 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.3941, allocations: 165.9 kB / 0.4946 GB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.3942, allocations: 29.41 kB / 0.4946 GB, free: 40.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.3943, allocations: 36.08 kB / 0.4946 GB, free: 40.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3943, allocations: 8.281 kB / 0.4946 GB, free: 40.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.3943, allocations: 1.438 kB / 0.4946 GB, free: 40.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3943, allocations: 1.5 kB / 0.4946 GB, free: 40.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.3954, allocations: 0.7227 MB / 0.4953 GB, free: 39.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3954, allocations: 0.9062 kB / 0.4953 GB, free: 39.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.3959, allocations: 95.05 kB / 0.4954 GB, free: 39.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.998e-05/0.3959, allocations: 29.39 kB / 0.4955 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.396, allocations: 10.23 kB / 0.4955 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006517/0.3966, allocations: 1.319 MB / 0.4968 GB, free: 38.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3967, allocations: 9.609 kB / 0.4968 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009062/0.3976, allocations: 0.6209 MB / 0.4974 GB, free: 38.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.3977, allocations: 124.1 kB / 0.4975 GB, free: 38.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.3977, allocations: 12.05 kB / 0.4975 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.398, allocations: 21.47 kB / 0.4975 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.3981, allocations: 23.42 kB / 0.4975 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3981, allocations: 10.16 kB / 0.4976 GB, free: 38.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.3983, allocations: 187.4 kB / 0.4977 GB, free: 37.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3983, allocations: 0 / 0.4977 GB, free: 37.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004409/0.3987, allocations: 93.81 kB / 0.4978 GB, free: 37.94 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000105/0.3988, allocations: 107.5 kB / 0.4979 GB, free: 37.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008246/0.3997, allocations: 410.1 kB / 0.4983 GB, free: 37.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3997, allocations: 4.125 kB / 0.4983 GB, free: 37.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.4001, allocations: 257.8 kB / 0.4986 GB, free: 37.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.4005, allocations: 40.53 kB / 0.4986 GB, free: 37.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.4021, allocations: 1.186 MB / 0.4998 GB, free: 36.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.4024, allocations: 0.8119 MB / 0.5006 GB, free: 36.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.4025, allocations: 35.61 kB / 0.5006 GB, free: 36.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.4026, allocations: 30.23 kB / 0.5006 GB, free: 36.17 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4026, allocations: 1.5 kB / 0.5006 GB, free: 36.17 MB / 378.7 MB Notification: Performance of Templates: time 0.006127/0.4088, allocations: 2.832 MB / 0.5034 GB, free: 35.98 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches