Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.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.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 112.7 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.001821/0.001821, allocations: 206.8 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.345/1.345, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.11 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.88 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3368, allocations: 62.44 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003874/0.3407, allocations: 2.686 MB / 0.5343 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.342, allocations: 0.7885 MB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.3422, allocations: 9.438 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.3424, allocations: 73.11 kB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.3426, allocations: 107.5 kB / 0.5352 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.3429, allocations: 110.8 kB / 0.5353 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.3433, allocations: 417.1 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.3436, allocations: 141.1 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3438, allocations: 150.1 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.344, allocations: 172.9 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.3441, allocations: 33.47 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.06e-05/0.3441, allocations: 33.31 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.903e-05/0.3442, allocations: 76.72 kB / 0.5363 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.3444, allocations: 189 kB / 0.5365 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.3448, allocations: 421.5 kB / 0.5369 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3448, allocations: 0 / 0.5369 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3448, allocations: 1.281 kB / 0.5369 GB, free: 9.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3448, allocations: 0 / 0.5369 GB, free: 9.539 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001081/0.3459, allocations: 0.676 MB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.346, allocations: 10.62 kB / 0.5376 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.781e-05/0.346, allocations: 43.44 kB / 0.5376 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.3464, allocations: 285.9 kB / 0.5379 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.3465, allocations: 27.25 kB / 0.5379 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.3465, allocations: 29.28 kB / 0.5379 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.3472, allocations: 366.8 kB / 0.5383 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3472, allocations: 0 / 0.5383 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.3472, allocations: 11.16 kB / 0.5383 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.3473, allocations: 12.88 kB / 0.5383 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/0.3479, allocations: 275.2 kB / 0.5386 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.3499, allocations: 1.335 MB / 0.5399 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.3503, allocations: 197.2 kB / 0.5401 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.3505, allocations: 84.2 kB / 0.5401 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.3506, allocations: 10.31 kB / 0.5401 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3506, allocations: 37.06 kB / 0.5402 GB, free: 6.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3506, allocations: 4 kB / 0.5402 GB, free: 6.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008038/0.3514, allocations: 247.5 kB / 0.5404 GB, free: 6.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.3515, allocations: 130.8 kB / 0.5405 GB, free: 6.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.3519, allocations: 347.1 kB / 0.5409 GB, free: 6.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3519, allocations: 27.02 kB / 0.5409 GB, free: 6.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3521, allocations: 238.4 kB / 0.5411 GB, free: 6.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.3521, allocations: 58.02 kB / 0.5412 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.3522, allocations: 53.95 kB / 0.5412 GB, free: 5.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3524, allocations: 349.2 kB / 0.5416 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.3526, allocations: 75.42 kB / 0.5416 GB, free: 5.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.3529, allocations: 169.9 kB / 0.5418 GB, free: 5.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.3534, allocations: 255.2 kB / 0.542 GB, free: 5.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3534, allocations: 1.125 kB / 0.542 GB, free: 5.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006424/0.354, allocations: 305.1 kB / 0.5423 GB, free: 5.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.354, allocations: 9.781 kB / 0.5423 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3541, allocations: 3.031 kB / 0.5423 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3541, allocations: 4.375 kB / 0.5424 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.3545, allocations: 88.08 kB / 0.5424 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.3545, allocations: 8.625 kB / 0.5424 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.3548, allocations: 56.64 kB / 0.5425 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.3548, allocations: 8.938 kB / 0.5425 GB, free: 4.988 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.3549, allocations: 153.5 kB / 0.5427 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.355, allocations: 29.47 kB / 0.5427 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.3551, allocations: 35.84 kB / 0.5427 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3551, allocations: 5.031 kB / 0.5427 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3551, allocations: 1.125 kB / 0.5427 GB, free: 4.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.3552, allocations: 109.7 kB / 0.5428 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.3553, allocations: 10.72 kB / 0.5428 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.3555, allocations: 15.7 kB / 0.5429 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.3556, allocations: 17.2 kB / 0.5429 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007238/0.3563, allocations: 0.515 MB / 0.5434 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005495/0.3569, allocations: 0.5855 MB / 0.5439 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001906/0.3571, allocations: 68.02 kB / 0.544 GB, free: 3.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002306/0.3573, allocations: 238.5 kB / 0.5442 GB, free: 3.523 MB / 398.1 MB Notification: Performance of Backend: time 6.92e-07/0.3573, allocations: 0 / 0.5442 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.3582, allocations: 211.6 kB / 0.5444 GB, free: 3.395 MB / 398.1 MB Notification: Performance of SimCode: time 0.001114/0.3594, allocations: 0.9496 MB / 0.5454 GB, free: 2.582 MB / 398.1 MB Notification: Performance of Templates: time 0.005926/0.3653, allocations: 2.572 MB / 0.5479 GB, free: 0.5898 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches