Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.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_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 105.4 kB / 18.45 MB, free: 4.625 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.001291/0.001291, allocations: 183 kB / 19.38 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2003/0.2003, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3098, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004514/0.3144, allocations: 3.494 MB / 0.523 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.316, allocations: 0.7898 MB / 0.5237 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.3162, allocations: 12.84 kB / 0.5237 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.3164, allocations: 72.95 kB / 0.5238 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.3167, allocations: 127 kB / 0.5239 GB, free: 440 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.3172, allocations: 134.8 kB / 0.5241 GB, free: 360 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.3177, allocations: 0.5149 MB / 0.5246 GB, free: 92 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.3181, allocations: 249.9 kB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.3184, allocations: 217.7 kB / 0.525 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.3187, allocations: 238.4 kB / 0.5252 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.3188, allocations: 48.94 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.434e-05/0.3189, allocations: 49.34 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/0.319, allocations: 108.4 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.3192, allocations: 247.8 kB / 0.5257 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000661/0.3199, allocations: 0.5554 MB / 0.5262 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3199, allocations: 8.688 kB / 0.5262 GB, free: 15.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3199, allocations: 0 / 0.5262 GB, free: 15.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3199, allocations: 0 / 0.5262 GB, free: 15.28 MB / 398.1 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.001343/0.3213, allocations: 0.7629 MB / 0.527 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3213, allocations: 9.625 kB / 0.527 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3215, allocations: 55.16 kB / 0.527 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.322, allocations: 316.8 kB / 0.5273 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.322, allocations: 36.62 kB / 0.5274 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.3221, allocations: 46.62 kB / 0.5274 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008397/0.323, allocations: 466.7 kB / 0.5279 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.323, allocations: 1.312 kB / 0.5279 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.323, allocations: 24.75 kB / 0.5279 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3231, allocations: 14.08 kB / 0.5279 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007125/0.3238, allocations: 324.3 kB / 0.5282 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.3263, allocations: 1.669 MB / 0.5298 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.3269, allocations: 236.3 kB / 0.5301 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.3272, allocations: 138.7 kB / 0.5302 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3273, allocations: 6.75 kB / 0.5302 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3273, allocations: 37.22 kB / 0.5302 GB, free: 12.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.3273, allocations: 4 kB / 0.5302 GB, free: 12.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.003045/0.3304, allocations: 1.343 MB / 0.5316 GB, free: 11.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3304, allocations: 80.27 kB / 0.5316 GB, free: 11.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.3307, allocations: 257.7 kB / 0.5319 GB, free: 10.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3308, allocations: 31.92 kB / 0.5319 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.3309, allocations: 264.3 kB / 0.5322 GB, free: 10.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.331, allocations: 124.8 kB / 0.5323 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3311, allocations: 70.39 kB / 0.5323 GB, free: 10.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3313, allocations: 341.7 kB / 0.5327 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.3316, allocations: 106 kB / 0.5328 GB, free: 10.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.3319, allocations: 215.7 kB / 0.533 GB, free: 9.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.3325, allocations: 337.9 kB / 0.5333 GB, free: 9.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3325, allocations: 5 kB / 0.5333 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008313/0.3334, allocations: 424.5 kB / 0.5337 GB, free: 9.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3334, allocations: 6.656 kB / 0.5337 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3334, allocations: 2.594 kB / 0.5337 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/0.3336, allocations: 33.66 kB / 0.5337 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.334, allocations: 131.4 kB / 0.5339 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.3351, allocations: 1.432 MB / 0.5353 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.3354, allocations: 21.42 kB / 0.5353 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3354, allocations: 10.84 kB / 0.5353 GB, free: 7.926 MB / 398.1 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.000207/0.3356, allocations: 179.4 kB / 0.5355 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.3357, allocations: 32.34 kB / 0.5355 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.01e-05/0.3358, allocations: 32.25 kB / 0.5355 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3358, allocations: 7.922 kB / 0.5355 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3358, allocations: 1.688 kB / 0.5355 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.3358, allocations: 2.594 kB / 0.5355 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3369, allocations: 0.7228 MB / 0.5363 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3369, allocations: 1.188 kB / 0.5363 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.3374, allocations: 89.69 kB / 0.5363 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.57e-05/0.3375, allocations: 30.34 kB / 0.5364 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3375, allocations: 10.19 kB / 0.5364 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009535/0.3384, allocations: 1.427 MB / 0.5378 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3385, allocations: 2.25 kB / 0.5378 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/0.3395, allocations: 0.6026 MB / 0.5384 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3396, allocations: 127 kB / 0.5385 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.3397, allocations: 11.34 kB / 0.5385 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.34, allocations: 17.73 kB / 0.5385 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.34, allocations: 26.91 kB / 0.5385 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.3401, allocations: 15.52 kB / 0.5386 GB, free: 4.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.3402, allocations: 183.9 kB / 0.5387 GB, free: 4.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3403, allocations: 0 / 0.5387 GB, free: 4.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004959/0.3408, allocations: 92.06 kB / 0.5388 GB, free: 4.855 MB / 398.1 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.0001297/0.3409, allocations: 106.4 kB / 0.5389 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008731/0.3418, allocations: 402 kB / 0.5393 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3418, allocations: 1.125 kB / 0.5393 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.3422, allocations: 251.2 kB / 0.5395 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.3427, allocations: 46.19 kB / 0.5396 GB, free: 4.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.3443, allocations: 0.9308 MB / 0.5405 GB, free: 3.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.3447, allocations: 0.811 MB / 0.5413 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3449, allocations: 35.59 kB / 0.5413 GB, free: 2.887 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3449, allocations: 1.156 kB / 0.5413 GB, free: 2.887 MB / 398.1 MB Notification: Performance of Templates: time 0.01002/0.3549, allocations: 5.986 MB / 0.5472 GB, free: 14.77 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches