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.001202/0.001203, allocations: 114.5 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3188, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004535/0.3234, allocations: 3.52 MB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3248, allocations: 0.8327 MB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.325, allocations: 7.938 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.3253, allocations: 78.88 kB / 0.536 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.3255, allocations: 125.2 kB / 0.5361 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.3259, allocations: 127.3 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.3264, allocations: 0.5206 MB / 0.5367 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.3268, allocations: 240.4 kB / 0.537 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.327, allocations: 216.5 kB / 0.5372 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.3273, allocations: 226.5 kB / 0.5374 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.3273, allocations: 49.94 kB / 0.5374 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.029e-05/0.3274, allocations: 48.22 kB / 0.5375 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.3275, allocations: 109.8 kB / 0.5376 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.3277, allocations: 251.8 kB / 0.5378 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.3282, allocations: 0.5558 MB / 0.5384 GB, free: 8.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3283, allocations: 9.094 kB / 0.5384 GB, free: 8.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3283, allocations: 0 / 0.5384 GB, free: 8.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.3283, allocations: 0 / 0.5384 GB, free: 8.43 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.001262/0.3295, allocations: 0.7604 MB / 0.5391 GB, free: 7.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.3296, allocations: 7.906 kB / 0.5391 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/0.3297, allocations: 55.09 kB / 0.5392 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.3301, allocations: 320.5 kB / 0.5395 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.3301, allocations: 32.38 kB / 0.5395 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.3302, allocations: 46.69 kB / 0.5396 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.331, allocations: 468.3 kB / 0.54 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.331, allocations: 4.984 kB / 0.54 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.331, allocations: 15.75 kB / 0.54 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.331, allocations: 11.81 kB / 0.54 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006436/0.3317, allocations: 324.8 kB / 0.5403 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.3339, allocations: 1.669 MB / 0.542 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.3344, allocations: 238.8 kB / 0.5422 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.3347, allocations: 135.8 kB / 0.5423 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3347, allocations: 5.969 kB / 0.5423 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3348, allocations: 34.16 kB / 0.5424 GB, free: 5.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.846e-06/0.3348, allocations: 4 kB / 0.5424 GB, free: 5.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.002691/0.3375, allocations: 1.341 MB / 0.5437 GB, free: 4.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.3375, allocations: 85.64 kB / 0.5438 GB, free: 4.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.3378, allocations: 257.2 kB / 0.544 GB, free: 3.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3378, allocations: 31.05 kB / 0.544 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.338, allocations: 268.5 kB / 0.5443 GB, free: 3.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.018e-05/0.3381, allocations: 117.4 kB / 0.5444 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3382, allocations: 78.91 kB / 0.5445 GB, free: 3.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3383, allocations: 337.7 kB / 0.5448 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.3386, allocations: 113.2 kB / 0.5449 GB, free: 3.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.3389, allocations: 212.1 kB / 0.5451 GB, free: 2.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.3395, allocations: 348.2 kB / 0.5454 GB, free: 2.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3395, allocations: 5.094 kB / 0.5455 GB, free: 2.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007776/0.3403, allocations: 422 kB / 0.5459 GB, free: 2.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3403, allocations: 6.719 kB / 0.5459 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3403, allocations: 2.562 kB / 0.5459 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.3404, allocations: 30.66 kB / 0.5459 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.3409, allocations: 118.9 kB / 0.546 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.3419, allocations: 1.442 MB / 0.5474 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.3422, allocations: 19.98 kB / 0.5474 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.3422, allocations: 19.94 kB / 0.5475 GB, free: 0.8633 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.0001599/0.3424, allocations: 165.7 kB / 0.5476 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.3424, allocations: 31.78 kB / 0.5476 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.3425, allocations: 42.17 kB / 0.5477 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3425, allocations: 3.984 kB / 0.5477 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3426, allocations: 0 / 0.5477 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.3427, allocations: 120.7 kB / 0.5478 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.3427, allocations: 8 kB / 0.5478 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.343, allocations: 19.98 kB / 0.5478 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.3431, allocations: 23.91 kB / 0.5479 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001025/0.3441, allocations: 0.5106 MB / 0.5484 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008793/0.345, allocations: 0.6616 MB / 0.549 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000238/0.3452, allocations: 119.1 kB / 0.5491 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.3454, allocations: 186 kB / 0.5493 GB, free: 14.93 MB / 414.1 MB Notification: Performance of Backend: time 3.7e-07/0.3454, allocations: 0 / 0.5493 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009032/0.3463, allocations: 406.4 kB / 0.5497 GB, free: 14.52 MB / 414.1 MB Notification: Performance of SimCode: time 0.001428/0.3478, allocations: 1.3 MB / 0.5509 GB, free: 13.18 MB / 414.1 MB Notification: Performance of Templates: time 0.00789/0.3557, allocations: 3.888 MB / 0.5547 GB, free: 9.324 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