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.001006/0.001006, allocations: 117.7 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.00108/0.00108, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.09 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.86 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2823, allocations: 62.42 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003502/0.2858, allocations: 2.695 MB / 0.5343 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2869, allocations: 0.7879 MB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2871, allocations: 9.438 kB / 0.535 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.2873, allocations: 73.11 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.2875, allocations: 106.1 kB / 0.5352 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2878, allocations: 106.9 kB / 0.5353 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.2881, allocations: 422 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.2883, allocations: 141.8 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.2885, allocations: 146.1 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.2887, allocations: 176.2 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.035e-05/0.2887, allocations: 32.91 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.2888, allocations: 36.94 kB / 0.5362 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.2889, allocations: 74.33 kB / 0.5363 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.289, allocations: 188 kB / 0.5365 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.2894, allocations: 422.2 kB / 0.5369 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2894, allocations: 0 / 0.5369 GB, free: 9.535 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2894, allocations: 0 / 0.5369 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2894, allocations: 0 / 0.5369 GB, free: 9.535 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.0009494/0.2904, allocations: 0.6707 MB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2904, allocations: 10.78 kB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.2905, allocations: 44.72 kB / 0.5376 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.2908, allocations: 285.1 kB / 0.5379 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.2908, allocations: 27.31 kB / 0.5379 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.2909, allocations: 29.19 kB / 0.5379 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.2915, allocations: 366.6 kB / 0.5383 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2915, allocations: 0 / 0.5383 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.2915, allocations: 12.06 kB / 0.5383 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2915, allocations: 11.78 kB / 0.5383 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.2921, allocations: 275.2 kB / 0.5386 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.2939, allocations: 1.339 MB / 0.5399 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.2944, allocations: 201.8 kB / 0.5401 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2946, allocations: 84.06 kB / 0.5401 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.2946, allocations: 2.719 kB / 0.5401 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2947, allocations: 44.11 kB / 0.5402 GB, free: 6.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.2947, allocations: 0 / 0.5402 GB, free: 6.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.000693/0.2954, allocations: 244.3 kB / 0.5404 GB, free: 6.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.2954, allocations: 135.7 kB / 0.5405 GB, free: 6.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.2958, allocations: 342.6 kB / 0.5409 GB, free: 6.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2958, allocations: 31.27 kB / 0.5409 GB, free: 6.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.2959, allocations: 234.1 kB / 0.5411 GB, free: 6.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.296, allocations: 54.42 kB / 0.5412 GB, free: 5.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.2961, allocations: 56.86 kB / 0.5412 GB, free: 5.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2962, allocations: 345.6 kB / 0.5416 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.2964, allocations: 83.66 kB / 0.5416 GB, free: 5.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.2967, allocations: 169.8 kB / 0.5418 GB, free: 5.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.2971, allocations: 250.6 kB / 0.542 GB, free: 5.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2971, allocations: 1.406 kB / 0.542 GB, free: 5.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006121/0.2978, allocations: 306 kB / 0.5423 GB, free: 5.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2978, allocations: 13.8 kB / 0.5423 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2978, allocations: 3.703 kB / 0.5423 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2978, allocations: 7.359 kB / 0.5424 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.2982, allocations: 93.75 kB / 0.5424 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.2982, allocations: 12.39 kB / 0.5425 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.2985, allocations: 48.02 kB / 0.5425 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.2985, allocations: 10.44 kB / 0.5425 GB, free: 4.977 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.0001293/0.2986, allocations: 148.3 kB / 0.5427 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.2987, allocations: 34.41 kB / 0.5427 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.2988, allocations: 35.11 kB / 0.5427 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2988, allocations: 7.125 kB / 0.5427 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2988, allocations: 5.656 kB / 0.5427 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2988, allocations: 1.094 kB / 0.5427 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.2995, allocations: 0.5905 MB / 0.5433 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2995, allocations: 5.219 kB / 0.5433 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.2998, allocations: 62.12 kB / 0.5434 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2998, allocations: 2.25 kB / 0.5434 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.2998, allocations: 11.44 kB / 0.5434 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2998, allocations: 2.188 kB / 0.5434 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2998, allocations: 2.438 kB / 0.5434 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.3003, allocations: 392.6 kB / 0.5438 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.3004, allocations: 105.7 kB / 0.5439 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.3004, allocations: 19.08 kB / 0.5439 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.3007, allocations: 12.73 kB / 0.5439 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.3007, allocations: 14.58 kB / 0.5439 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3007, allocations: 4.406 kB / 0.5439 GB, free: 3.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.301, allocations: 242.3 kB / 0.5441 GB, free: 3.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.301, allocations: 0 / 0.5441 GB, free: 3.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.3013, allocations: 71.69 kB / 0.5442 GB, free: 3.539 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0001005/0.3015, allocations: 103.5 kB / 0.5443 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.3019, allocations: 186.6 kB / 0.5445 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3019, allocations: 1.656 kB / 0.5445 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.3021, allocations: 89.34 kB / 0.5446 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3025, allocations: 25.66 kB / 0.5446 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.3035, allocations: 0.5856 MB / 0.5452 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3038, allocations: 0.7759 MB / 0.5459 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.3039, allocations: 25.84 kB / 0.546 GB, free: 2.113 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3039, allocations: 0 / 0.546 GB, free: 2.113 MB / 398.1 MB Notification: Performance of Templates: time 0.004441/0.3083, allocations: 3.208 MB / 0.5491 GB, free: 15.19 MB / 414.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