Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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: 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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 116.2 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 214 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 75.8 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2946, allocations: 62.42 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004319/0.299, allocations: 3.525 MB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.3003, allocations: 0.828 MB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.3005, allocations: 15.53 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.3007, allocations: 67.42 kB / 0.536 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.301, allocations: 129.1 kB / 0.5361 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.3013, allocations: 127.3 kB / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.3017, allocations: 0.5249 MB / 0.5367 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.302, allocations: 241 kB / 0.537 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.3022, allocations: 212.7 kB / 0.5372 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.3025, allocations: 230.8 kB / 0.5374 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.366e-05/0.3025, allocations: 56.91 kB / 0.5374 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.047e-05/0.3026, allocations: 48.62 kB / 0.5375 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.342e-05/0.3027, allocations: 117.7 kB / 0.5376 GB, free: 9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.3029, allocations: 244.5 kB / 0.5378 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.3034, allocations: 0.5558 MB / 0.5384 GB, free: 8.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3034, allocations: 0 / 0.5384 GB, free: 8.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.3034, allocations: 0 / 0.5384 GB, free: 8.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.3034, allocations: 0.7812 kB / 0.5384 GB, free: 8.418 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.001153/0.3046, allocations: 0.76 MB / 0.5391 GB, free: 7.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3046, allocations: 9.25 kB / 0.5391 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.521e-05/0.3047, allocations: 58.36 kB / 0.5392 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.3051, allocations: 324.6 kB / 0.5395 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.3052, allocations: 31.84 kB / 0.5395 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.3052, allocations: 47.25 kB / 0.5396 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.306, allocations: 468.6 kB / 0.54 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.306, allocations: 0 / 0.54 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.306, allocations: 25.16 kB / 0.54 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.306, allocations: 10.69 kB / 0.54 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.3067, allocations: 321 kB / 0.5403 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.3088, allocations: 1.669 MB / 0.542 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.3093, allocations: 232 kB / 0.5422 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.3096, allocations: 143.3 kB / 0.5423 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3097, allocations: 2.219 kB / 0.5423 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3097, allocations: 36.86 kB / 0.5424 GB, free: 5.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.512e-06/0.3097, allocations: 224 / 0.5424 GB, free: 5.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.00263/0.3123, allocations: 1.35 MB / 0.5437 GB, free: 4.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3124, allocations: 80.7 kB / 0.5438 GB, free: 4.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.3126, allocations: 257.3 kB / 0.544 GB, free: 3.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3127, allocations: 31.98 kB / 0.544 GB, free: 3.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3128, allocations: 267.7 kB / 0.5443 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.3129, allocations: 121.4 kB / 0.5444 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.313, allocations: 74.58 kB / 0.5445 GB, free: 3.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3131, allocations: 345 kB / 0.5448 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.3134, allocations: 105.4 kB / 0.5449 GB, free: 3.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.3137, allocations: 220.1 kB / 0.5451 GB, free: 2.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.3142, allocations: 337.7 kB / 0.5454 GB, free: 2.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3142, allocations: 5.562 kB / 0.5455 GB, free: 2.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007482/0.315, allocations: 426 kB / 0.5459 GB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.315, allocations: 6.438 kB / 0.5459 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.315, allocations: 2.438 kB / 0.5459 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.3152, allocations: 29.75 kB / 0.5459 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.3156, allocations: 128.3 kB / 0.546 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009093/0.3165, allocations: 1.438 MB / 0.5474 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.3168, allocations: 15.98 kB / 0.5474 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.3168, allocations: 20.06 kB / 0.5475 GB, free: 0.8477 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.0001523/0.3169, allocations: 169.6 kB / 0.5476 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.317, allocations: 31.7 kB / 0.5476 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.804e-05/0.3171, allocations: 34.19 kB / 0.5477 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3171, allocations: 4 kB / 0.5477 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3171, allocations: 3.984 kB / 0.5477 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3171, allocations: 4.141 kB / 0.5477 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009593/0.3181, allocations: 0.7153 MB / 0.5484 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3181, allocations: 4 kB / 0.5484 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.3185, allocations: 91.88 kB / 0.5485 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.299e-05/0.3186, allocations: 28.91 kB / 0.5485 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.3186, allocations: 11.94 kB / 0.5485 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008125/0.3194, allocations: 1.419 MB / 0.5499 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3194, allocations: 0 / 0.5499 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008521/0.3203, allocations: 0.6056 MB / 0.5505 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3204, allocations: 124.8 kB / 0.5506 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.3205, allocations: 8 kB / 0.5506 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.3207, allocations: 19.98 kB / 0.5506 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.3208, allocations: 31.84 kB / 0.5507 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3208, allocations: 11.98 kB / 0.5507 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.321, allocations: 186 kB / 0.5509 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.321, allocations: 0 / 0.5509 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.3214, allocations: 92 kB / 0.551 GB, free: 13 MB / 414.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.0001046/0.3215, allocations: 103.2 kB / 0.551 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007065/0.3222, allocations: 421.8 kB / 0.5515 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3222, allocations: 0 / 0.5515 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.3226, allocations: 247.4 kB / 0.5517 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.323, allocations: 67.84 kB / 0.5518 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3243, allocations: 0.9217 MB / 0.5527 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3247, allocations: 0.8113 MB / 0.5534 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.3248, allocations: 31.42 kB / 0.5535 GB, free: 10.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3248, allocations: 0 / 0.5535 GB, free: 10.32 MB / 414.1 MB Notification: Performance of Templates: time 0.006723/0.3315, allocations: 5.977 MB / 0.5593 GB, free: 4.352 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches