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.001491/0.001492, allocations: 112.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 83.86 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3193, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00441/0.3237, allocations: 3.515 MB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3251, allocations: 0.8353 MB / 0.5359 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.3253, allocations: 8.25 kB / 0.5359 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.3255, allocations: 75.48 kB / 0.536 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.3257, allocations: 132.6 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.3261, allocations: 128.3 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.3266, allocations: 0.5158 MB / 0.5367 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/0.327, allocations: 245 kB / 0.537 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.3272, allocations: 208.8 kB / 0.5372 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.3275, allocations: 231.1 kB / 0.5374 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.516e-05/0.3276, allocations: 49.09 kB / 0.5374 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.804e-05/0.3277, allocations: 49.72 kB / 0.5375 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.474e-05/0.3278, allocations: 112.3 kB / 0.5376 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.328, allocations: 252.2 kB / 0.5378 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.3285, allocations: 0.5559 MB / 0.5384 GB, free: 8.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3285, allocations: 1.312 kB / 0.5384 GB, free: 8.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3285, allocations: 4 kB / 0.5384 GB, free: 8.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3286, allocations: 0 / 0.5384 GB, free: 8.41 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.001305/0.3299, allocations: 0.7595 MB / 0.5391 GB, free: 7.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3299, allocations: 8.906 kB / 0.5391 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.33, allocations: 54.41 kB / 0.5392 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.3305, allocations: 316.2 kB / 0.5395 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.3306, allocations: 32.69 kB / 0.5395 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.3307, allocations: 47.03 kB / 0.5396 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.3315, allocations: 477.2 kB / 0.54 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3315, allocations: 0 / 0.54 GB, free: 7.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.3316, allocations: 15.75 kB / 0.54 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.3316, allocations: 12 kB / 0.54 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.3323, allocations: 320.1 kB / 0.5403 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.3347, allocations: 1.674 MB / 0.542 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.3353, allocations: 246.9 kB / 0.5422 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.3356, allocations: 130.7 kB / 0.5423 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3357, allocations: 6.406 kB / 0.5423 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.3357, allocations: 33 kB / 0.5424 GB, free: 5.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.806e-06/0.3357, allocations: 9.25 kB / 0.5424 GB, free: 5.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.002881/0.3386, allocations: 1.342 MB / 0.5437 GB, free: 4.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3386, allocations: 85.14 kB / 0.5438 GB, free: 4.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3389, allocations: 257.4 kB / 0.544 GB, free: 3.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.339, allocations: 31.67 kB / 0.5441 GB, free: 3.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3391, allocations: 264.8 kB / 0.5443 GB, free: 3.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/0.3392, allocations: 119.8 kB / 0.5444 GB, free: 3.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3393, allocations: 79.66 kB / 0.5445 GB, free: 3.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3395, allocations: 337.2 kB / 0.5448 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.3397, allocations: 109.2 kB / 0.5449 GB, free: 3.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.3401, allocations: 211.3 kB / 0.5451 GB, free: 2.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.3407, allocations: 344.1 kB / 0.5454 GB, free: 2.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3407, allocations: 5.312 kB / 0.5455 GB, free: 2.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008274/0.3415, allocations: 420.9 kB / 0.5459 GB, free: 2.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3416, allocations: 6.625 kB / 0.5459 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3416, allocations: 3.406 kB / 0.5459 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.3417, allocations: 33.83 kB / 0.5459 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.3422, allocations: 123.8 kB / 0.546 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.3434, allocations: 1.438 MB / 0.5474 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.3436, allocations: 19.98 kB / 0.5474 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.3437, allocations: 20 kB / 0.5475 GB, free: 0.8398 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.00023/0.3439, allocations: 165.7 kB / 0.5476 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.344, allocations: 27.72 kB / 0.5476 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.3441, allocations: 46.17 kB / 0.5477 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3441, allocations: 4 kB / 0.5477 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3441, allocations: 0 / 0.5477 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.3443, allocations: 124.7 kB / 0.5478 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.3443, allocations: 8 kB / 0.5478 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.3446, allocations: 19.98 kB / 0.5478 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.3447, allocations: 23.91 kB / 0.5479 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001141/0.3458, allocations: 0.5109 MB / 0.5484 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00103/0.3469, allocations: 0.6539 MB / 0.549 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002745/0.3472, allocations: 118.3 kB / 0.5491 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.3474, allocations: 186 kB / 0.5493 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Backend: time 7.81e-07/0.3474, allocations: 4 kB / 0.5493 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.3484, allocations: 404.9 kB / 0.5497 GB, free: 14.5 MB / 414.1 MB Notification: Performance of SimCode: time 0.001592/0.35, allocations: 1.3 MB / 0.5509 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Templates: time 0.007732/0.3578, allocations: 3.772 MB / 0.5546 GB, free: 9.414 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