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.002045/0.002045, allocations: 114.8 kB / 18.46 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002713/0.002713, allocations: 204 kB / 19.41 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.656/2.656, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4283/0.4283, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 79.81 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.5614, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004361/0.5658, allocations: 2.678 MB / 0.5343 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.5673, allocations: 0.7963 MB / 0.535 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.5674, allocations: 9.688 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.5677, allocations: 72.97 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.568, allocations: 102.6 kB / 0.5352 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.5682, allocations: 114.9 kB / 0.5353 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.5687, allocations: 414.8 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.569, allocations: 144.9 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.5692, allocations: 149.7 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.5693, allocations: 172.4 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.5694, allocations: 33.19 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.5695, allocations: 33.19 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.5696, allocations: 81.72 kB / 0.5363 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.5698, allocations: 183.4 kB / 0.5365 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.5702, allocations: 425.4 kB / 0.5369 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5702, allocations: 0 / 0.5369 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5702, allocations: 0 / 0.5369 GB, free: 9.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.5703, allocations: 0 / 0.5369 GB, free: 9.551 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.001074/0.5713, allocations: 0.6837 MB / 0.5376 GB, free: 8.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.463e-05/0.5714, allocations: 10.38 kB / 0.5376 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.5715, allocations: 40.52 kB / 0.5376 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.5719, allocations: 289.9 kB / 0.5379 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.5719, allocations: 26.88 kB / 0.5379 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.572, allocations: 29.56 kB / 0.5379 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.5726, allocations: 370.5 kB / 0.5383 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5726, allocations: 0 / 0.5383 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.5727, allocations: 11.91 kB / 0.5383 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.5727, allocations: 11.88 kB / 0.5383 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.5733, allocations: 275.4 kB / 0.5386 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.5753, allocations: 1.34 MB / 0.5399 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.5758, allocations: 192.8 kB / 0.5401 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.576, allocations: 86.06 kB / 0.5402 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.576, allocations: 9.406 kB / 0.5402 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5761, allocations: 44.97 kB / 0.5402 GB, free: 6.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.5761, allocations: 0 / 0.5402 GB, free: 6.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008577/0.5769, allocations: 247.3 kB / 0.5404 GB, free: 6.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.577, allocations: 131 kB / 0.5406 GB, free: 6.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.5774, allocations: 347.9 kB / 0.5409 GB, free: 6.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.5774, allocations: 29.7 kB / 0.5409 GB, free: 6.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.5776, allocations: 246.4 kB / 0.5412 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.5777, allocations: 47.41 kB / 0.5412 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.413e-05/0.5778, allocations: 57.78 kB / 0.5413 GB, free: 5.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5779, allocations: 353.7 kB / 0.5416 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.5781, allocations: 75.89 kB / 0.5417 GB, free: 5.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.5784, allocations: 180.6 kB / 0.5418 GB, free: 5.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.5789, allocations: 251.3 kB / 0.5421 GB, free: 5.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5789, allocations: 1.219 kB / 0.5421 GB, free: 5.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006521/0.5796, allocations: 309.1 kB / 0.5424 GB, free: 5.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5796, allocations: 6.438 kB / 0.5424 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5796, allocations: 3.312 kB / 0.5424 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.5796, allocations: 4.375 kB / 0.5424 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.58, allocations: 92.8 kB / 0.5425 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.5801, allocations: 8.719 kB / 0.5425 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.5803, allocations: 48.94 kB / 0.5425 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.5804, allocations: 9.438 kB / 0.5425 GB, free: 4.969 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.0001712/0.5805, allocations: 156.5 kB / 0.5427 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.5806, allocations: 31.09 kB / 0.5427 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.5807, allocations: 35.66 kB / 0.5428 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5807, allocations: 5.031 kB / 0.5428 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5808, allocations: 1.875 kB / 0.5428 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.5808, allocations: 117.2 kB / 0.5429 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.5809, allocations: 1.469 kB / 0.5429 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.5812, allocations: 23.39 kB / 0.5429 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.5813, allocations: 10.36 kB / 0.5429 GB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008812/0.5821, allocations: 0.5107 MB / 0.5434 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007542/0.5829, allocations: 0.585 MB / 0.544 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000265/0.5832, allocations: 72.78 kB / 0.5441 GB, free: 3.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003372/0.5835, allocations: 241.8 kB / 0.5443 GB, free: 3.496 MB / 398.1 MB Notification: Performance of Backend: time 5.51e-07/0.5835, allocations: 0 / 0.5443 GB, free: 3.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.5847, allocations: 206.1 kB / 0.5445 GB, free: 3.371 MB / 398.1 MB Notification: Performance of SimCode: time 0.001296/0.586, allocations: 0.9674 MB / 0.5454 GB, free: 2.539 MB / 398.1 MB Notification: Performance of Templates: time 0.2755/0.8615, allocations: 2.485 MB / 0.5478 GB, free: 0.6094 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