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.001155/0.001155, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001129, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.09 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 75.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3711, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.006573/0.3777, allocations: 3.51 MB / 0.5351 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.3802, allocations: 0.836 MB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.3806, allocations: 7.844 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.381, allocations: 76.23 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.3814, allocations: 128.2 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.3819, allocations: 126.6 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008808/0.3828, allocations: 0.5172 MB / 0.5367 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.3833, allocations: 248.2 kB / 0.537 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.3837, allocations: 213.3 kB / 0.5372 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.3841, allocations: 230 kB / 0.5374 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.3843, allocations: 49.78 kB / 0.5374 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3844, allocations: 48.88 kB / 0.5375 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3846, allocations: 116.8 kB / 0.5376 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.3849, allocations: 249.3 kB / 0.5378 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.3857, allocations: 0.5553 MB / 0.5384 GB, free: 8.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3857, allocations: 0 / 0.5384 GB, free: 8.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3857, allocations: 0.9062 kB / 0.5384 GB, free: 8.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3857, allocations: 3.984 kB / 0.5384 GB, free: 8.465 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.001809/0.3875, allocations: 0.7603 MB / 0.5391 GB, free: 7.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.3876, allocations: 8.625 kB / 0.5391 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.3878, allocations: 54.16 kB / 0.5392 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009297/0.3887, allocations: 316.9 kB / 0.5395 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/0.3888, allocations: 32.41 kB / 0.5395 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.389, allocations: 51.19 kB / 0.5396 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.3903, allocations: 468.7 kB / 0.54 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3904, allocations: 0 / 0.54 GB, free: 7.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.3905, allocations: 16.91 kB / 0.54 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.3905, allocations: 11.56 kB / 0.54 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.3916, allocations: 327.8 kB / 0.5403 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.395, allocations: 1.666 MB / 0.542 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.3958, allocations: 238.8 kB / 0.5422 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004516/0.3962, allocations: 135.5 kB / 0.5423 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3963, allocations: 2.219 kB / 0.5423 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.3963, allocations: 41.03 kB / 0.5424 GB, free: 5.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 5.6e-06/0.3963, allocations: 0 / 0.5424 GB, free: 5.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.004431/0.4008, allocations: 1.339 MB / 0.5437 GB, free: 4.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.4009, allocations: 81.45 kB / 0.5438 GB, free: 4.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.4013, allocations: 266 kB / 0.544 GB, free: 4.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.4014, allocations: 31.02 kB / 0.544 GB, free: 3.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.4016, allocations: 264.1 kB / 0.5443 GB, free: 3.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.4018, allocations: 120.4 kB / 0.5444 GB, free: 3.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.4019, allocations: 74.98 kB / 0.5445 GB, free: 3.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.4022, allocations: 349.6 kB / 0.5448 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.4026, allocations: 109.2 kB / 0.5449 GB, free: 3.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.4031, allocations: 212.1 kB / 0.5451 GB, free: 3.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009062/0.4041, allocations: 338.8 kB / 0.5454 GB, free: 2.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4041, allocations: 5.188 kB / 0.5454 GB, free: 2.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001266/0.4053, allocations: 414.6 kB / 0.5458 GB, free: 2.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4054, allocations: 6.719 kB / 0.5458 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.4054, allocations: 3.562 kB / 0.5458 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.4056, allocations: 37.56 kB / 0.5459 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.4063, allocations: 128 kB / 0.546 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.4079, allocations: 1.44 MB / 0.5474 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.4083, allocations: 16 kB / 0.5474 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.4083, allocations: 16 kB / 0.5474 GB, free: 0.9258 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.0003168/0.4087, allocations: 178.8 kB / 0.5476 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.4088, allocations: 27.72 kB / 0.5476 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.4089, allocations: 42.17 kB / 0.5477 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4089, allocations: 4 kB / 0.5477 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.409, allocations: 0 / 0.5477 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.409, allocations: 0 / 0.5477 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.4107, allocations: 0.7154 MB / 0.5484 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.4107, allocations: 0 / 0.5484 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/0.4113, allocations: 91.88 kB / 0.5485 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.4114, allocations: 28.84 kB / 0.5485 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.4115, allocations: 7.938 kB / 0.5485 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.4128, allocations: 1.426 MB / 0.5499 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4128, allocations: 3.984 kB / 0.5499 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.4142, allocations: 0.6095 MB / 0.5505 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.4145, allocations: 120.8 kB / 0.5506 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.627e-05/0.4146, allocations: 8 kB / 0.5506 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.415, allocations: 23.98 kB / 0.5506 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.4151, allocations: 31.84 kB / 0.5507 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.4152, allocations: 11.98 kB / 0.5507 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.4154, allocations: 186 kB / 0.5509 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4154, allocations: 0 / 0.5509 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008792/0.4163, allocations: 92 kB / 0.551 GB, free: 13.07 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.0002061/0.4166, allocations: 103.2 kB / 0.551 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.4178, allocations: 418.5 kB / 0.5514 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.4178, allocations: 4 kB / 0.5515 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.4184, allocations: 248.9 kB / 0.5517 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008361/0.4193, allocations: 48.98 kB / 0.5517 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.4218, allocations: 0.9218 MB / 0.5526 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.4224, allocations: 0.8191 MB / 0.5534 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.4225, allocations: 27.44 kB / 0.5535 GB, free: 10.4 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4225, allocations: 0 / 0.5535 GB, free: 10.4 MB / 414.1 MB Notification: Performance of Templates: time 0.01231/0.4348, allocations: 5.992 MB / 0.5593 GB, free: 4.418 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